Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
You are here: HomeForum
Welcome, Guest

Cannot use object of type stdClass as array
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Cannot use object of type stdClass as array

Cannot use object of type stdClass as array 6 years, 4 months ago #36862

Hello.
After upgrading Joomla from 3.8.8 to 3.8.10 when entering in menu item i see an error
Cannot use object of type stdClass as array
/home/sbif013644/xn----8sbif0aygle2j.xn--p1ai/docs/plugins/system/x_menu_params/x_menu_params.php:30 

What should i do?
How it fix?
Help to fix it please.
Last Edit: 6 years, 4 months ago by exmr.

Re: Cannot use object of type stdClass as array 6 years, 4 months ago #36863

Solution!
line
if($data['id'] && $data['parent_id'] == 1) {

shoud be repleced to
if($data->id && $data->parent_id == 1) {

That is all.
The following user(s) said Thank You: campodiseno, heartlink

Re: Cannot use object of type stdClass as array 6 years, 4 months ago #36906

Dear exmr

Thanks for your solution.

thanks

Re: Cannot use object of type stdClass as array 5 years, 9 months ago #38123

This change work! Thank You!
  • Page:
  • 1
Time to create page: 0.24 seconds

Notification

Please find your issue via Suggested Posts before submitting your question. We have solved the most of issues and maybe your issue was solved before.

Latest My Topics

No posts to display.

Love all our templates?

Join our membership clubs starting at $49 only for access to all of our templates

Join Now
Home Pricing
Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
SearchSupport
Magento Themes Magento Extensions Free Magento Extensions Prestashop Themes Prestashop Modules Magento 2 Themes