I am trying to: get a worldmap where I can look for product from my WCFM multivendor market place as explained here hidden link
Link to a page where the issue can be seen:
Once the toolsets maps plugin is activated, I have a 503 error.
The error found in
Uncaught TypeError: Illegal offset type in /home/wandaue/www/wp-content/plugins/toolset-maps/includes/toolset-common-functions.php:1159
I expected to see:
A map with my product
Instead, I got:
[08-Feb-2024 19:39:57 UTC] PHP Fatal error: Uncaught TypeError: Illegal offset type in /home/wandaue/www/wp-content/plugins/toolset-maps/includes/toolset-common-functions.php:1159
Stack trace:
#0 /home/wandaue/www/wp-content/plugins/toolset-maps/includes/toolset-common-functions.php(1343): Toolset_Addon_Maps_Common::get_coordinates_new(Array, false)
#1 /home/wandaue/www/wp-content/plugins/wc-frontend-manager-ultimate/views/integrations/toolset/wcfmu-view-toolset-types-products-manage.php(188): Toolset_Addon_Maps_Common::get_coordinates(Array)
#2 /home/wandaue/www/wp-content/plugins/wc-frontend-manager-ultimate/core/class-wcfmu-template.php(45): include('/home/wandaue/w...')
#3 /home/wandaue/www/wp-content/plugins/wc-frontend-manager-ultimate/core/class-wcfmu-integrations.php(2271): WCFMu_Template->get_template('integrations/to...')
#4 /home/wandaue/www/wp-includes/class-wp-hook.php(326): WCFMu_Integrations->wcfm_toolset_types_product_manage_fields(0)
#5 /home/wandaue/www/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
#6 /home/wandaue/www/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#7 /home/wandaue/www/wp-content/plugins/wc-frontend-manager/views/products-popup/wcfm-view-product-popup.php(308): do_action('after_wcfm_prod...', 0, '', false, '')
#8 /home/wandaue/www/wp-content/plugins/wc-frontend-manager/core/class-wcfm-template.php(38): include('/home/wandaue/w...')
#9 /home/wandaue/www/wp-content/plugins/wc-frontend-manager/core/class-wcfm-product-popup.php(144): WCFM_Template->get_template('products-popup/...')
#10 /home/wandaue/www/wp-includes/class-wp-hook.php(324): WCFM_Product_Popup->wcfm_product_popup_botton('wcfm-dashboard')
#11 /home/wandaue/www/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array)
#12 /home/wandaue/www/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#13 /home/wandaue/www/wp-content/plugins/wc-frontend-manager/includes/shortcodes/class-wcfm-shortcode-wc-frontend-manager.php(54): do_action('wcfm_main_conte...', 'wcfm-dashboard')
#14 /home/wandaue/www/wp-content/plugins/wc-frontend-manager/core/class-wcfm-shortcode.php(114): WCFM_Frontend_Manager_Shortcode::output('')
#15 /home/wandaue/www/wp-content/plugins/wc-frontend-manager/core/class-wcfm-shortcode.php(46): WCFM_Shortcode->shortcode_wrapper(Array, '')
#16 /home/wandaue/www/wp-includes/shortcodes.php(433): WCFM_Shortcode->wc_frontend_manager('', '', 'wc_frontend_man...')
#17 [internal function]: do_shortcode_tag(Array)
#18 /home/wandaue/www/wp-includes/shortcodes.php(273): preg_replace_callback('/\\[(\\[?)(wc_fro...', 'do_shortcode_ta...', '[wc_frontend_ma...')
#19 /home/wandaue/www/wp-includes/class-wp-hook.php(324): do_shortcode('[wc_frontend_ma...')
#20 /home/wandaue/www/wp-includes/plugin.php(205): WP_Hook->apply_filters('[wc_frontend_ma...', Array)
#21 /home/wandaue/www/wp-includes/post-template.php(256): apply_filters('the_content', '[wc_frontend_ma...')
#22 /home/wandaue/www/wp-content/plugins/wc-frontend-manager/templates/classic/wcfm-content.php(38): the_content()
#23 /home/wandaue/www/wp-includes/template-loader.php(106): include('/home/wandaue/w...')
#24 /home/wandaue/www/wp-blog-header.php(19): require_once('/home/wandaue/w...')
#25 /home/wandaue/www/index.php(17): require('/home/wandaue/w...')
#26 {main}
thrown in /home/wandaue/www/wp-content/plugins/toolset-maps/includes/toolset-common-functions.php on line 1159
[08-Feb-2024 19:39:58 UTC] PHP Fatal error: Uncaught TypeError: Illegal offset type in /home/wandaue/www/wp-content/plugins/toolset-maps/includes/toolset-common-functions.php:1159
Stack trace:
Minesh
Supporter
Languages:
English (English )
Timezone:
Asia/Kolkata (GMT+05:30)
Hello. Thank you for contacting the Toolset support.
Can you please share details with problem URL where you are trying to display the map and where you added the map in what template in backend?
*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.
I have set the next reply to private which means only you and I have access to it.