Home / Forums / WoodMart support forum / PHP Warning in WoodMart Products Tabs Elementor widget – Array to string convers
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
- This topic has 10 replies, 2 voices, and was last updated 1 month, 3 weeks ago by
Aizaz Imtiaz Awan.
-
AuthorPosts
-
May 19, 2026 at 9:54 am #718762
suport-3014ParticipantHello 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 235The 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 impactThank you.
May 19, 2026 at 2:57 pm #718805Hello,
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
May 20, 2026 at 10:05 am #718873
suport-3014ParticipantHello,
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 235This 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.phpWe 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/V0SWPPqSYou 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.May 21, 2026 at 7:42 am #718966Hello,
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.
May 21, 2026 at 11:08 am #718984
suport-3014ParticipantHello,
Thank you for checking.
Yes, the Products Tabs widget is currently used only on the homepage:
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 241Examples 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.
May 21, 2026 at 4:18 pm #719014
suport-3014ParticipantHello,
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 238This 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.
May 21, 2026 at 4:29 pm #719017Hello,
We fixed the errors on your website. Please monitor whether they appear again.
Best Regards.
May 21, 2026 at 7:34 pm #719044
suport-3014ParticipantHello,
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.
May 22, 2026 at 1:23 pm #719080Hello,
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.
May 22, 2026 at 1:25 pm #719081
suport-3014ParticipantExcelent. thanks!
May 22, 2026 at 3:14 pm #719104Hello,
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. -
AuthorPosts
Tagged: array-to-string, elementor, performance, products tabs
The topic ‘PHP Warning in WoodMart Products Tabs Elementor widget – Array to string convers’ is closed to new replies.
- You must be logged in to create new topics. Login / Register