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

Have "Cannot use object of type stdClass as array" in creating menu
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Have "Cannot use object of type stdClass as array" in creating menu

Have "Cannot use object of type stdClass as array" in creating menu 3 years, 4 months ago #39591

Have this problem...
When I try to make a new menu the system goes to a page: "Cannot use object of type stdClass as array"

Please need help as soon as possible...

Re: Have "Cannot use object of type stdClass as array" in creating menu 3 years, 3 months ago #39613

Hi,

please go to plugins/system/x_menu_params/x_menu_params.php
and find:

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

=> change to:

if (is_object($data))
{ $data = (array)$data; }
if($data['id'] && $data['parent_id'] == 1) {

thanks

Re: Have "Cannot use object of type stdClass as array" in creating menu 2 years, 8 months ago #40681

Good Day
Can you please help me - I have the same problem
I did as you suggested but I'm still getting the error
Thank you

Re: Have "Cannot use object of type stdClass as array" in creating menu 2 years, 8 months ago #40684

Hello,
We fixed your issue. Please check your site again.
Thanks
  • Page:
  • 1
Time to create page: 0.23 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