Home Forums WoodMart support forum PHP Warning in WoodMart Products Tabs Elementor widget – Array to string convers

PHP Warning in WoodMart Products Tabs Elementor widget – Array to string convers

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #718762

    suport-3014
    Participant

    Hello WoodMart Support,

    We are getting repeated PHP warnings from the WoodMart theme:

    PHP Warning: Array to string conversion in:
    /wp-content/themes/woodmart/inc/integrations/elementor/elements/products-tabs/products-tabs.php on line 235

    The warning appears many times in the error log and seems related to the WoodMart Products Tabs Elementor widget.

    It may also be affecting performance, because several admin/frontend requests are loading many WoodMart + Elementor product widgets, including:

    woodmart/inc/integrations/elementor/elements/products-tabs/
    woodmart/inc/integrations/elementor/elements/class-product-filters.php
    woodmart/inc/modules/layouts/elementor/shop-archive/

    Could you please confirm:

    Is this a known issue in the current WoodMart version?
    What setting or widget configuration can cause an array to be passed as a string on line 235?
    Is there an update-safe fix or patch for this?
    Should we recreate/remove the Products Tabs widget, or update a specific WoodMart/Elementor setting?

    Website: anvelopaweb.ro
    Theme: WoodMart
    Builder: Elementor
    Issue: repeated PHP warning + possible performance impact

    Thank you.

    #718805

    Aizaz Imtiaz Awan
    Keymaster
    Xtemos team

    Hello,

    Could you please provide some useful screenshots of the errors which you have faced for better understanding that demonstrate the problem, so we can understand and reproduce it on your website.

    Best Regards

    #718873

    suport-3014
    Participant

    Hello,

    Thank you for your reply.

    The issue manifests in two ways:

    1. Repeated PHP warnings in the server error log:
    PHP Warning: Array to string conversion in:
    /wp-content/themes/woodmart/inc/integrations/elementor/elements/products-tabs/products-tabs.php on line 235

    This warning is generated repeatedly, sometimes multiple times within the same minute.

    2. Performance impact:
    During several admin/frontend requests, the server becomes slow and CPU usage increases. The trace shows that the request loads many WoodMart + Elementor product-related widgets, especially:

    – woodmart/inc/integrations/elementor/elements/products-tabs/
    – woodmart/inc/integrations/elementor/elements/class-product-filters.php
    – woodmart/inc/modules/layouts/elementor/shop-archive/
    – woodmart/inc/modules/layouts/elementor/shop-archive/class-archive-products.php
    – woodmart/inc/modules/layouts/elementor/shop-archive/class-filters-area.php

    We do not see evidence of malware or bot traffic in this trace. The issue seems related to the WoodMart Elementor Products Tabs / Product Filters / Shop Archive integration.

    I have attached screenshots/logs showing the warning and the related trace:
    >> https://ibb.co/B59nVdPf
    >> https://ibb.co/V0SWPPqS

    You can also access the website admin and server files using the private credentials below.

    Please check:
    – what setting/widget configuration is causing an array to be passed as a string on line 235;
    – whether the Products Tabs widget needs to be recreated or corrected;
    – whether this is a known WoodMart bug;
    – whether there is an update-safe fix or patch.

    Thank you.

    Attachments:
    You must be logged in to view attached files.
    #718966

    Aizaz Imtiaz Awan
    Keymaster
    Xtemos team

    Hello,

    We checked your website and didn’t notice any errors in the console. That’s why we wanted to ask if there are any other pages on your site with product tabs besides the homepage.

    Best Regards.

    #718984

    suport-3014
    Participant

    Hello,

    Thank you for checking.

    Yes, the Products Tabs widget is currently used only on the homepage:

    https://anvelopaweb.ro/

    Section:
    “Top Anvelope Recomandate”

    Tabs:
    – Anvelope All Season
    – Anvelope Vară
    – Anvelope Iarnă

    We do not have other pages where this Products Tabs widget is intentionally used.

    The issue is still active. The latest server error log still shows repeated warnings from the same WoodMart file, now on line 241:

    PHP Warning: Array to string conversion in:
    /home/anvelopaweb/public_html/wp-content/themes/woodmart/inc/integrations/elementor/elements/products-tabs/products-tabs.php on line 241

    Examples from the latest log:
    [21-May-2026 07:40:39 UTC]
    [21-May-2026 07:40:40 UTC]
    [21-May-2026 07:40:41 UTC]
    [21-May-2026 07:42:06 UTC]
    [21-May-2026 07:42:08 UTC]

    Also, in the homepage page source, the word “Array” is visible in the SEO/meta description content after the Products Tabs section, which suggests that an array value is being rendered as text somewhere in the homepage content generated by the widget/layout.

    Please check specifically the homepage Products Tabs widget configuration and the WoodMart Products Tabs Elementor integration.

    We need to know:
    1. Which Products Tabs setting is causing the array-to-string warning.
    2. Whether the widget needs to be recreated.
    3. Whether this is a WoodMart bug in the current version.
    4. What update-safe fix you recommend.

    Thank you.

    #719014

    suport-3014
    Participant

    Hello,

    Please note that this is a live production website and customers are currently seeing the PHP fatal error on the frontend.

    The website is not just logging warnings anymore — the frontend is broken and displays this error publicly:

    Parse error: syntax error, unexpected token “}”, expecting “elseif” or “else” or “endif” in:
    /wp-content/themes/woodmart/inc/integrations/elementor/elements/products-tabs/products-tabs.php on line 238

    This is urgent because the website is live and customers can see the error.

    Could you please urgently restore/fix the Products Tabs file syntax or confirm what should be reverted?

    Affected URL:
    https://anvelopaweb.ro/

    Thank you.

    #719017

    Aizaz Imtiaz Awan
    Keymaster
    Xtemos team

    Hello,

    We fixed the errors on your website. Please monitor whether they appear again.

    Best Regards.

    #719044

    suport-3014
    Participant

    Hello,

    Thank you for fixing the issue.

    Could you please also confirm exactly what the problem was and what change/fix you applied?

    We need this information for our internal documentation, so if the same issue appears again in the future we can identify and fix it faster.

    The website is live, so we want to make sure we can safely prevent or resolve this directly next time.

    Thank you.

    #719080

    Aizaz Imtiaz Awan
    Keymaster
    Xtemos team

    Hello,

    The issue was caused by the theme side, and we will include the fix that was added to your site in the next update. This problem will not appear after updating the theme.

    Best Regards.

    #719081

    suport-3014
    Participant

    Excelent. thanks!

    #719104

    Aizaz Imtiaz Awan
    Keymaster
    Xtemos team

    Hello,

    You’re Most Welcome!

    Feel free to write back anytime. If you need further assistance, we are always here to help you.

    If you have a minute, we’d truly appreciate your feedback — it helps us improve the product and shape future updates more effectively. We’d love your feedback on our theme: https://tally.so/r/w4l54k

    Thanks for contacting us.
    Have a great day.

    Topic Closed.
    Best Regards.

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

The topic ‘PHP Warning in WoodMart Products Tabs Elementor widget – Array to string convers’ is closed to new replies.