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

TypeError in Craft 3.7.2 #38

Closed
E2design opened this issue Jul 16, 2021 · 1 comment
Closed

TypeError in Craft 3.7.2 #38

E2design opened this issue Jul 16, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@E2design
Copy link

Describe the bug

The bug shows when I open up a category entry

To reproduce

Steps to reproduce the behaviour:

  1. Go to "CP main left menu"
  2. Click on "Categories and double click a category"
  3. See error message "Argument 1 passed to nystudio107\webperf\Webperf::renderSidebar() must be an instance of craft\base\Element, null given, called in /var/www/project/cms/vendor/nystudio107/craft-webperf/src/Webperf.php on line 586"

Screenshots

See this link

Versions

  • Plugin version: 1.0.24
  • Craft version: 3.7.2
@E2design E2design added the bug Something isn't working label Jul 16, 2021
khalwat added a commit that referenced this issue Jul 16, 2021
…if no `element` existed when rendering the sidebar (#38)

Signed-off-by: Andrew Welch <andrew@nystudio107.com>
@khalwat
Copy link
Contributor

khalwat commented Jul 16, 2021

Addressed in: daf48b8

You can try it now by setting your semver in your composer.json to look like this:

    "nystudio107/craft-webperf": "dev-develop as 1.0.25”,

Then do a composer clear-cache && composer update

@khalwat khalwat closed this as completed Jul 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants