Error with "backend.inc.php"
-
Hello,
I notice this error in the admin area, especially in the “Menu” tab:Notice: Undefined offset: 1 in /***/wp-content/plugins/woocommerce-menu-extension/include/backend.inc.php on line 75
Is there a solution for this issue?
Regards,
René
-
Hello querin,
Are you using wordpress version 4.3. If so, then there may be a problem because we haven’t tested our plugin in that version.
We will be get back to you after we tested the plugin in wordpress latest version.
Thanks & Regards,
August InfotechHello querin,
Menu tab working properly at our end.
Thanks & Regards,
August InfotechHi.
I have the same problem.
RegardsHello,
Will you provide us your site URL. Mayebe because of confliction of plugin. We could detect the issue if you provide us URL.
Thanks & Regards,
August InfotechHi.
http://www.escoladepaisefilhos.org
RegardsHello Samuel Costa,
We have installed all plugins used in your site except purchasable dms-plugin-pro plugin , but still we haven’t found any issue.
Will you please mail us your site details (username & password) on “wordpress@augustinfotech.com” in order to detect issue at your end.
Thanks & Regards,
August InfotechHi August.
After update The Events Calendar resolved the issue.Tks.
Hello Samuel Costa,
Thanks for your patience and support. As your problem has been resolved so we will mark this topic as resolved.
If you need further any help please feel free to contact us.
Thanks & Regards,
August InfotechApologies for hijacking this thread, but I have the exact same notice appearing. Only on the theme > menus page as far as I can tell.
Notice: Undefined offset: 1 in …/woocommerce-menu-extension/include/backend.inc.php on line 75WP 4.4.1
PHP 5.4.45
All plugins are up to date inc WooCommerce 2.4.12Dev site URL: http://ifm-dev2.consil.co.uk/
Otherwise a great plugin, thanks
Hello danbrady,
We have changes in backend.inc.php file and uploading on WooCommerce Menu Extension plugin.
We have replace line number 75 below code:
$menu_item_url = ‘#’.$menu_item_array[1].’#’;
to
if(!empty($menu_item_array[1])){
$menu_item_url = ‘#’.$menu_item_array[1].’#’;
}You can download plugin again or simply copy & paste above contents.
Regards,
August InfotechThanks
We have the latest version, 1.3. But the code in backend.inc.php was still the old code. We’ve changed it manually.
When I switch on debug it has “Notice: Undefined variable: menu_item_url in /var/www/vhosts/ifm.org.uk/httpdocs/wp-content/plugins/woocommerce-menu-extension/include/backend.inc.php on line 79”
Different line and different code causing this error:
79 if ( isset($menu_item->object, $menu_item->url) && $menu_item->object == 'custom' && in_array($menu_item_url, $elems) ) 80 $menu_item->type_label = ( 'AI WooCommerce' );Hello danbrady,
We have changes in backend.inc.php file and uploading on WooCommerce Menu Extension plugin.
We have add below line after 74 line number :
Line 75 : $menu_item_url = ”;Regards,
August InfotechWorks great for me! Thanks!!!
So, in the end, thats the code:
$menu_item_array = explode(‘#’, $menu_item->url);
$menu_item_url = ”;
if(!empty($menu_item_array[1])){
$menu_item_url = ‘#’.$menu_item_array[1].’#’;
}God bless you guys!
The topic ‘Error with "backend.inc.php"’ is closed to new replies.