Divi WordPress Theme
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

WordPress fix 500 internal server error

Discussion in 'Misc WordPress Requests' started by itssdylann, Feb 8, 2018.

  1. itssdylann

    Guest

    500 internal server error, by itssdylann

    My website suddenly gives a 500 internal server error. i tried renaming the plug ins, themes as well as the htaccess, I also increased the memory limit, I added php.ini. etc
    I received this log error:

    [08-Feb-2018 07:48:54 UTC] PHP Notice: product_type was called incorrectly. Product properties should not be accessed directly. Backtrace: require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘/plugins/woocommerce/templates/archive-product.php’), wc_get_template_part, load_template, require(‘/plugins/woocommerce/templates/content-product.php’), do_action(‘woocommerce_after_shop_loop_item’), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, Avada_Woocommerce->avada_woocommerce_template_loop_add_to_cart, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong Please see Debugging in WordPress for more information. (This message was added in version 3.0.) in /home/content/08/9599908/html/sites/nippon/wp-includes/functions.php on line 4147

    I understand that I need to change

    $product->product_type;

    to this:

    $product->get_type();

    but where? like where should I start?

    500 internal server error
     
    #1

Share This Page

Monarch Social Sharing Plugin