Home Forums WoodMart support forum Fatal error: Uncaught TypeError: Unsupported operand types: float * string

Fatal error: Uncaught TypeError: Unsupported operand types: float * string

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #501945

    pixadoro
    Participant

    Hello,
    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.

    #501958

    Artem Temos
    Keymaster

    Hello,

    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 builder

    Thank you in advance

    #503088

    pixadoro
    Participant

    Thank 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.

    #503214

    Artem Temos
    Keymaster

    Hello,

    Please, use coordinates here instead of address. https://prnt.sc/PbsJxj4XEfGk Like this example 51.50735,-0.12776

    Kind Regards

    #503250

    pixadoro
    Participant

    Great, thanks! It is working normal again!

    #503265

    Artem Temos
    Keymaster

    You are always welcome. Feel free to contact us if you have any further questions.

Viewing 6 posts - 1 through 6 (of 6 total)

The topic ‘Fatal error: Uncaught TypeError: Unsupported operand types: float * string’ is closed to new replies.