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

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #652152

    ytodae
    Participant

    Please 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

    #652214

    Luke Nielsen
    Keymaster

    Hello,

    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

    #652225

    ytodae
    Participant

    Nothing happens.

    If i disable WPBakery, the messages disappear. But WPBakery is necessary for your template.

    #652240

    Luke Nielsen
    Keymaster

    Hello,

    Please confirm the permission for plugins deactivation and switching to the parent/default theme for testing.

    Looking forward to collaborating with you!

    Kind Regards

    #652241

    ytodae
    Participant

    What do you mean?

    #652265

    Luke Nielsen
    Keymaster

    Hello,

    I meant, send me access and give me permission for plugins deactivation and switching to the parent/default theme for testing.

    Kind Regards

    #652274

    ytodae
    Participant

    Ok, i’ve added below.

    #652438

    Luke Nielsen
    Keymaster

    Hello,

    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

    #652479

    ytodae
    Participant

    I’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.

    #652689

    Luke Nielsen
    Keymaster

    Hello,

    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

    #652737

    ytodae
    Participant

    Wow, this was the solutions so far. But why the Shop page was unselected? We did’t changed this.

    #652753

    Luke Nielsen
    Keymaster

    Hello,

    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

    #653724

    ytodae
    Participant

    Yes, i tried to import a single page. Thank you for your quick response.

    #653818

    Luke Nielsen
    Keymaster

    Hello,

    Okay, understood.

    In this case, let me know if the topic can be closed.

    Thank you for your time.

    Kind Regards

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