-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
"Cannot use object of type stdClass as array" in Menu creation/editing #20878
Comments
Are you using PWT Sitemap? They reported and confirmed that their extension caused this issue |
Nope, but I use JSitemap PRO |
Might be the same problem. Disable it and see and then let us know |
I disabled it but I have the same issue. So, JSitemap PRO is not the cause. |
Enable debug to see where exactly this error is coming from. |
What type of menu item? Enable debug mode and include a stack trace for the error. |
It's from CoalaWeb extension. Thank You for Your support! |
This is caused by #20313. |
helix3 seems to be the cause of the problem. This solved my problem: https://www.joomshaper.com/forums/helix3-plugins-causing-joomal-menu-to-not-work-0-cannot-use-object-of-type-stdclass-as-array |
As noted in #20879 it is not a bug in any extension. |
You're right. I wanted to write that on helix 3, there was a solution... the same solution as on the thread you mention. Many thanks. |
I got the same error but in my case it was caused by the google structured data markup plugin by tasso marinos. But after updating to the latest version 3.1.9 it was resoved... |
In my case it was outdated vp onepage plugin for virtuemart |
I too had the problem. Thanks vegasls as I use Google Structured Data and updated it from 3.1.8 to 3.1.9. This solved the problem. |
Hello everyone, |
@vishvakarmaPerfection Please ask help on the forums as Comments on closed Issues didn't get much Notice. Pleaes don't comment on different Issues same Comment, thanks. |
I use Helix3 and have the same issue. The solution is only accessible for paying customers. AlainRnet, could you share your solution, please? |
Sorry, I don't remember and I haven't access either. I seem to remember that the bug is now closed and that it is enough to update Helix. |
Perhaps you can try :
as described here : #20879 (comment) |
Thank you! That helped a lot. I had to disable a few other extensions, too (SJ Mega Menu and Extra Menu Params - both by YouTech/SmartAddons). There is no update for Helix3, and the successor, Helix Ultimate seems dead, too ... |
Worked for me, Thanks. |
Thanks buddy its working => $data = is_object($data) ? (array) $data : $data; |
Thank you This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/20878. |
Steps to reproduce the issue
I try to create a new menu item or edit a new one
Expected result
Creation form of a new item / Editing form of old items
Actual result
Error: "0 Cannot use object of type stdClass as array"
System information (as much as possible)
Additional comments
I have this issue after updating from Joomla! 3.8.8 to Joomla! 3.8.9, still having issue on Joomla! 3.8.10
The text was updated successfully, but these errors were encountered: