Home › Forums › WoodMart support forum › Fatal error: Uncaught TypeError: Unsupported operand types: float * string
Fatal error: Uncaught TypeError: Unsupported operand types: float * string
- This topic has 5 replies, 2 voices, and was last updated 1 year, 1 month ago by Artem Temos.
-
AuthorPosts
-
October 5, 2023 at 4:07 pm #501945
pixadoroParticipantHello,
Using the latest version of WoodMart, WooCommerce, WordPress.
In this page: https://termos.pixadoro.com/contacts/ I am having a fatal error:Fatal error: Uncaught TypeError: Unsupported operand types: float * string in /home/winphonebg/termos.pixadoro.com/wp-content/themes/woodmart/inc/helpers.php:1557 Stack trace: #0 /home/winphonebg/termos.pixadoro.com/wp-content/themes/woodmart/inc/integrations/elementor/elements/class-open-street-map.php(700): woodmart_get_center_coords(Array) #1 /home/winphonebg/termos.pixadoro.com/wp-content/plugins/elementor/includes/base/controls-stack.php(2265): XTS\Elementor\Open_Street_Map->render() #2 /home/winphonebg/termos.pixadoro.com/wp-content/plugins/elementor/includes/base/widget-base.php(609): Elementor\Controls_Stack->render_by_mode() #3 /home/winphonebg/termos.pixadoro.com/wp-content/plugins/elementor/includes/base/widget-base.php(750): Elementor\Widget_Base->render_content() #4 /home/winphonebg/termos.pixadoro.com/wp-content/plugins/elementor/includes/base/element-base.php(464): Elementor\Widget_Base->print_content() #5 /home/winphonebg/termos.pixadoro.com/wp-content/plugins/elementor/includes/base/element-base.php(1375): Elementor\Element_Base->print_element() #6 /home/winphonebg/termos.pixadoro.com/wp-content/plugins/elementor/includes/base/element-base.php(464): Elementor\Element_Base->print_content() #7 /home/winphonebg/termos.pixadoro.com/wp-content/plugins/elementor/includes/base/element-base.php(1375): Elementor\Element_Base->print_element() #8 /home/winphonebg/termos.pixadoro.com/wp-content/plugins/elementor/includes/base/element-base.php(464): Elementor\Element_Base->print_content() #9 /home/winphonebg/termos.pixadoro.com/wp-content/plugins/elementor/core/base/document.php(1739): Elementor\Element_Base->print_element() #10 /home/winphonebg/termos.pixadoro.com/wp-content/plugins/elementor/core/base/document.php(1134): Elementor\Core\Base\Document->print_elements(Array) #11 /home/winphonebg/termos.pixadoro.com/wp-content/plugins/elementor/includes/frontend.php(1179): Elementor\Core\Base\Document->print_elements_with_wrapper(Array) #12 /home/winphonebg/termos.pixadoro.com/wp-content/plugins/elementor/includes/frontend.php(1074): Elementor\Frontend->get_builder_content(6102) #13 /home/winphonebg/termos.pixadoro.com/wp-includes/class-wp-hook.php(310): Elementor\Frontend->apply_builder_in_content('\xD0\x9F\xD0\xBE\xD0\xBF\xD1\x8A\xD0\xBB\xD0\xBD\xD0\xB5\xD1...') #14 /home/winphonebg/termos.pixadoro.com/wp-includes/plugin.php(205): WP_Hook->apply_filters('\xD0\x9F\xD0\xBE\xD0\xBF\xD1\x8A\xD0\xBB\xD0\xBD\xD0\xB5\xD1...', Array) #15 /home/winphonebg/termos.pixadoro.com/wp-content/themes/woodmart/inc/template-tags/template-tags.php(495): apply_filters('the_content', '\xD0\x9F\xD0\xBE\xD0\xBF\xD1\x8A\xD0\xBB\xD0\xBD\xD0\xB5\xD1...') #16 /home/winphonebg/termos.pixadoro.com/wp-content/themes/woodmart/page.php(26): woodmart_get_the_content() #17 /home/winphonebg/termos.pixadoro.com/wp-includes/template-loader.php(106): include('/home/winphoneb...') #18 /home/winphonebg/termos.pixadoro.com/wp-blog-header.php(19): require_once('/home/winphoneb...') #19 /home/winphonebg/termos.pixadoro.com/index.php(17): require('/home/winphoneb...') #20 {main} thrown in /home/winphonebg/termos.pixadoro.com/wp-content/themes/woodmart/inc/helpers.php on line 1557
Also in admin I’m having: “Warning: Attempt to read property “total” on null in /home/winphonebg/termos.pixadoro.com/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-payment-gateway.php on line 271″
What could this be? I’ve tried deactivating all plugins, except WoodMart, but still the same.
October 5, 2023 at 4:40 pm #501958
Artem TemosKeymasterHello,
Please, disable all plugins that are not related to our theme and provide us with your admin and FTP access. We will log in and check what is wrong there. You can leave only the following plugins that are required for our theme:
WoodMart core
WooCommerce
Elementor/WPBakery page builderThank you in advance
October 10, 2023 at 4:51 pm #503088
pixadoroParticipantThank you, here’s the access you needed.
I find the fatal error only on that particular page https://termos.pixadoro.com/contacts/ and I am not sure what is it causing it.October 11, 2023 at 9:35 am #503214
Artem TemosKeymasterHello,
Please, use coordinates here instead of address. https://prnt.sc/PbsJxj4XEfGk Like this example
51.50735,-0.12776
Kind Regards
October 11, 2023 at 10:59 am #503250
pixadoroParticipantGreat, thanks! It is working normal again!
October 11, 2023 at 11:20 am #503265
Artem TemosKeymasterYou are always welcome. Feel free to contact us if you have any further questions.
-
AuthorPosts
The topic ‘Fatal error: Uncaught TypeError: Unsupported operand types: float * string’ is closed to new replies.
- You must be logged in to create new topics. Login / Register