Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter amiriss

    (@amiriss)

    Hosting answer attached:

    I was able to recreate the experienced issue, thus I have checked the application error_log file and noticed the next entry:

    [19-Aug-2019 14:33:58 UTC] PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function empty_wc_add_to_cart_message(), 1 passed in /home/photobot/public_html/amielriss.co.il/wp-includes/class-wp-hook.php on line 288 and exactly 2 expected in /home/photobot/public_html/amielriss.co.il/wp-content/themes/oceanwp-child-theme-master/functions.php:46
    Stack trace:
    #0 /home/photobot/public_html/amielriss.co.il/wp-includes/class-wp-hook.php(288): empty_wc_add_to_cart_message(‘<a href=”https:…’)
    #1 /home/photobot/public_html/amielriss.co.il/wp-includes/plugin.php(208): WP_Hook->apply_filters(‘<a href=”https:…’, Array)
    #2 /home/photobot/public_html/amielriss.co.il/wp-content/plugins/woocommerce/includes/wc-cart-functions.php(131): apply_filters(‘wc_add_to_cart_…’, ‘<a href=”https:…’, Array, true)
    #3 /home/photobot/public_html/amielriss.co.il/wp-content/plugins/woocommerce/includes/class-wc-form-handler.php(779): wc_add_to_cart_message(Array, true)
    #4 /home/photobot/public_html/amielriss.co.il/wp-content/plugins/woocommerce/includes/class-w in /home/photobot/public_html/amielriss.co.il/wp-content/themes/oceanwp-child-theme-master/functions.php on line 46

    As far as, I can understand this issue is caused due to the “OceanWP Child Theme Master” theme and the WooCommerce plugin. In order to resolve this issue, I would recommend you to contact the theme or the plugin developers. The other option is to address this issue to third party web developer knowledgeable in WordPress and WooCommerce.

    Hello,

    Have you added any code to the child theme? Try switching to parent theme and check it works well or not. If it works, then you need to check your check again in the child theme.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘add to cart -> error page “The site is experiencing technical difficulties”’ is closed to new replies.