Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: Unable to save my profile settings due to undefined $job variable #16

Closed
peteeveleigh opened this issue May 2, 2022 · 1 comment

Comments

@peteeveleigh
Copy link

peteeveleigh commented May 2, 2022

Steps to reproduce:

Make a change to your own user preferences and click save.

What I expect:

Preferences should be saved

What happens:

An exception is thrown

yii\base\ErrorException: Undefined variable $job in /app/vendor/internetztube/craft-element-relations/src/ElementRelations.php:83
Stack trace:
#0 {main}

The issue is that the plugin is trying to push a variable $job to the queue, but $job hasn't been defined.

System details

PHP version 8.1 (also present with 7.4.26)
Craft Pro 3.7.39
Element Relations 1.3.5

@internetztube
Copy link
Owner

Thanks for your bug report. Should be fixed with 1.3.6.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants