Home › Forums › WoodMart support forum › Warning / Deprecated messages appear on direk shop link and stock_status=onsale
Warning / Deprecated messages appear on direk shop link and stock_status=onsale
- This topic has 13 replies, 2 voices, and was last updated 2 weeks, 1 day ago by
Luke Nielsen.
-
AuthorPosts
-
April 7, 2025 at 2:02 pm #652152
ytodaeParticipantPlease help me to solve these messages:
Warning: Attempt to read property “post_content” on null in /var/www/clients/client1/web2/web/wp-content/plugins/js_composer/include/classes/core/class-vc-base.php on line 331
Deprecated: preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated in /var/www/clients/client1/web2/web/wp-content/plugins/js_composer/include/classes/core/class-vc-base.php on line 357
Deprecated: preg_match_all(): Passing null to parameter #2 ($subject) of type string is deprecated in /var/www/clients/client1/web2/web/wp-content/plugins/js_composer/include/classes/core/class-vc-base.php on line 361
Warning: Attempt to read property “post_content” on null in /var/www/clients/client1/web2/web/wp-content/plugins/js_composer/include/classes/core/class-vc-base.php on line 331
Deprecated: preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated in /var/www/clients/client1/web2/web/wp-content/plugins/js_composer/include/classes/core/class-vc-base.php on line 357
April 7, 2025 at 3:54 pm #652214
Luke NielsenKeymasterHello,
Could you please check how it works with some default WordPress themes like TwentyTwenty or WooCommerce Storefront to understand is it our theme issue or not?
Kind Regards
April 7, 2025 at 4:14 pm #652225
ytodaeParticipantNothing happens.
If i disable WPBakery, the messages disappear. But WPBakery is necessary for your template.
April 7, 2025 at 4:38 pm #652240
Luke NielsenKeymasterHello,
Please confirm the permission for plugins deactivation and switching to the parent/default theme for testing.
Looking forward to collaborating with you!
Kind Regards
April 7, 2025 at 4:41 pm #652241
ytodaeParticipantWhat do you mean?
April 7, 2025 at 5:36 pm #652265
Luke NielsenKeymasterHello,
I meant, send me access and give me permission for plugins deactivation and switching to the parent/default theme for testing.
Kind Regards
April 7, 2025 at 6:30 pm #652274
ytodaeParticipantOk, i’ve added below.
April 8, 2025 at 11:29 am #652438
Luke NielsenKeymasterHello,
On the staging site – https://prnt.sc/T_DuxRH-Dutq there is no such issue, please clarify how I can replicate it there.
Thank you for your time.
Kind Regards
April 8, 2025 at 12:36 pm #652479
ytodaeParticipantI’ve removed the sale listing because of the error messages.
You can replicate the errors by click on the search icon (magnifying glass) and search for anything what you want.
April 9, 2025 at 9:31 am #652689
Luke NielsenKeymasterHello,
It looks like the issue is gone after defining the Shop page in WooCommerce -> Settings -> Products: https://prnt.sc/R4awITjWjQAJ
So please define it on the live site, clear the cache and recheck the issue.
Kind Regards
April 9, 2025 at 10:56 am #652737
ytodaeParticipantWow, this was the solutions so far. But why the Shop page was unselected? We did’t changed this.
April 9, 2025 at 11:36 am #652753
Luke NielsenKeymasterHello,
Clarify, did you import any demo from our prebuilt websites? If so, somehow the shop page was removed.
Thank you for your time.
Kind Regards
April 13, 2025 at 2:12 pm #653724
ytodaeParticipantYes, i tried to import a single page. Thank you for your quick response.
April 14, 2025 at 10:32 am #653818
Luke NielsenKeymasterHello,
Okay, understood.
In this case, let me know if the topic can be closed.
Thank you for your time.
Kind Regards
-
AuthorPosts
Tagged: class-vc-base.php, deprecated, js_composer, onsale, post_content, preg_matc, stock_status, Warning
- You must be logged in to create new topics. Login / Register