• Resolved matrixboy

    (@matrixboy)


    Hi

    After installing wpml and try to translate , the page dameged

    If I disabled WCBoost – Wishlist its work fine

    debug

    [31-Mar-2024 23:25:10 UTC] PHP Fatal error:  Uncaught Error: Call to a member function get_id() on bool in /public_html/wp-content/plugins/wcboost-wishlist/includes/frontend.php:491
    Stack trace:
    #0 /public_html/wp-content/plugins/wcboost-wishlist/includes/shortcodes.php(82): WCBoost\Wishlist\Frontend->get_button_template_args()
    #1 /public_html/wp-includes/shortcodes.php(433): WCBoost\Wishlist\Shortcodes::button()
    #2 [internal function]: do_shortcode_tag()
    #3 /public_html/wp-includes/shortcodes.php(273): preg_replace_callback()
    #4 /public_html/wp-content/themes/motta/inc/woocommerce/product-card.php(884): do_shortcode()
    #5 /public_html/wp-includes/class-wp-hook.php(324): Motta\WooCommerce\Product_Card->product_wishlist_button()
    #6 /public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
    #7 /public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
    #8 /public_html/wp-content/themes/motta/inc/woocommerce/product-card.php(674): do_action()
    #9 /public_html/wp-includes/class-wp-hook.php(324): Motta\WooCommerce\Product_Card->product_loop_thumbnail()
    #10 /public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
    #11 /public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
    #12 /public_html/wp-content/plugins/woocommerce/templates/content-product.php(42): do_action()
    #13 /public_html/wp-includes/template.php(792): require('/home/1337.c...')
    #14 /public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(284): load_template()
    #15 /public_html/wp-content/themes/motta/woocommerce/archive-product.php(53): wc_get_template_part()
    #16 /public_html/wp-includes/template-loader.php(106): include('/home/1337.c...')
    #17 /public_html/wp-blog-header.php(19): require_once('/home/1337.c...')
    #18 /public_html/index.php(17): require('/home/1337.c...')
    #19 {main}
      thrown in /public_html/wp-content/plugins/wcboost-wishlist/includes/frontend.php on line 491
    [31-Mar-2024 23:25:10 UTC] PHP Warning:  Attempt to read property "post_content" on null in /public_html/wp-content/plugins/automation-web-platform/awp-main.php on line 1430
    [31-Mar-2024 23:25:10 UTC] PHP Deprecated:  str_contains(): Passing null to parameter #1 ($haystack) of type string is deprecated in /public_html/wp-includes/shortcodes.php on line 150
    

    thanks

    • This topic was modified 8 months ago by matrixboy. Reason: add image
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author WCBoost

    (@wcboost)

    Hello,

    Thank you very much for your feedback. Recently, we noticed this issue too. This is a new issue with the WPML Translation editor. Our team is working on fixing this issue.

    At the moment, you can resolve this error by translating the product independently (using the WP editor instead of WPML Translation editor which only translates the texts in a post).

    Please let me know if you have any question.

    Plugin Author WCBoost

    (@wcboost)

    Hello @matrixboy,

    We’ve just updated the plugin and resolved the issue with WPML. Please update your plugin to ensure the best compatibility for your website.

    Thank you for your supporting!

    Thread Starter matrixboy

    (@matrixboy)

    thank you, I tried to active the plugin with the new version but its the same issue

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘wpml error’ is closed to new replies.