Title: Debugging Errors
Last modified: December 19, 2018

---

# Debugging Errors

 *  [kpukpu](https://wordpress.org/support/users/kpukpu/)
 * (@kpukpu)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/debugging-errors/)
 * Hi Everyone,
 * I am currently trying to fix up my website and I am seeing different notices/
   errors in the debug admin.
    After I updated WP I got the 505 Error which somehow
   resolved itself. Another error that all pages had 404 expect homepage I fixed
   this by permalinks. Then WooCommerce backend wasn’t functioning well. This is
   fixed as well. Currently I am just trying to clean up so I won’t come across 
   more errors.
 * Can someone please help me how to fix these?
    Would updating PHP fix this? Sorry,
   I am a complete beginner in this.
 * 5.5.38 – WooCommerce will run under this version of PHP, however, it has reached
   end of life. We recommend using PHP version 7.2 or above for greater performance
   and security. How to update your PHP version
 * 1
    WARNING: wp-content/plugins/revslider/includes/operations.class.php:816 – 
   file_get_contents(): Filename cannot be empty require(‘wp-blog-header.php’), 
   require_once(‘wp-includes/template-loader.php’), include(‘/themes/storefront-
   child/page.php’), get_header, locate_template, load_template, require_once(‘/
   themes/storefront-child/header.php’), wp_head, do_action(‘wp_head’), WP_Hook-
   >do_action, WP_Hook->apply_filters, call_user_func_array, wp_enqueue_scripts,
   do_action(‘wp_enqueue_scripts’), WP_Hook->do_action, WP_Hook->apply_filters, 
   call_user_func_array, RevSliderFront::onAddScripts, RevSliderOperations::getStaticCss,
   file_get_contents
 * 2.
    wp-includes/functions.php:3883 – WC_Cart::get_cart_url is deprecated since
   version 2.5! Use wc_get_cart_url instead. require(‘wp-blog-header.php’), require_once(‘
   wp-includes/template-loader.php’), include(‘/themes/storefront-child/page.php’),
   get_footer, locate_template, load_template, require_once(‘/themes/storefront-
   child/footer.php’), do_action(‘storefront_footer’), WP_Hook->do_action, WP_Hook-
   >apply_filters, call_user_func_array, storefront_handheld_footer_bar, call_user_func,
   storefront_handheld_footer_bar_cart_link, WC_Legacy_Cart->get_cart_url, wc_deprecated_function,
   _deprecated_function, do_action(‘deprecated_function_run’)
 * 3
    NOTICE: wp-content/themes/storefront-child/functions.php:19 – Undefined property:
   WP_Error::$description require(‘wp-blog-header.php’), require_once(‘wp-includes/
   template-loader.php’), include(‘/plugins/woocommerce/templates/taxonomy-product_cat.
   php’), wc_get_template, include(‘/plugins/woocommerce/templates/archive-product.
   php’), woocommerce_product_loop_start, apply_filters(‘woocommerce_product_loop_start’),
   WP_Hook->apply_filters, call_user_func_array, woocommerce_maybe_show_product_subcategories,
   woocommerce_output_product_categories, wc_get_template, include(‘/plugins/woocommerce/
   templates/content-product_cat.php’), do_action(‘woocommerce_after_subcategory_title’),
   WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, custom_add_product_description
 * NOTICE: wp-includes/functions.php:4204 – id 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/taxonomy-
   product_cat.php’), wc_get_template, 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_title’),
   WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, woocommerce_template_loop_price,
   wc_get_template, include(‘/plugins/woocommerce/templates/loop/price.php’), WC_Product_Variable-
   >get_price_html, apply_filters(‘woocommerce_variable_price_html’), WP_Hook->apply_filters,
   call_user_func_array, WC_GFPA_Main->get_price_html, 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.)
    require(‘wp-blog-header.php’), require_once(‘
   wp-includes/template-loader.php’), include(‘/plugins/woocommerce/templates/taxonomy-
   product_cat.php’), wc_get_template, 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_title’),
   WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, woocommerce_template_loop_price,
   wc_get_template, include(‘/plugins/woocommerce/templates/loop/price.php’), WC_Product_Variable-
   >get_price_html, apply_filters(‘woocommerce_variable_price_html’), WP_Hook->apply_filters,
   call_user_func_array, WC_GFPA_Main->get_price_html, WC_Abstract_Legacy_Product-
   >__get, wc_doing_it_wrong, _doing_it_wrong, trigger_error
 * NOTICE: wp-includes/functions.php:4204 – id 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/taxonomy-
   product_cat.php’), wc_get_template, 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, DOPBSPWooCommerceCategory-
   >displayButtons, WC_Product->add_to_cart_url, apply_filters(‘woocommerce_product_add_to_cart_url’),
   WP_Hook->apply_filters, call_user_func_array, WC_GFPA_Display->get_add_to_cart_url,
   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.)
    require(‘
   wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘/
   plugins/woocommerce/templates/taxonomy-product_cat.php’), wc_get_template, 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, DOPBSPWooCommerceCategory-
   >displayButtons, WC_Product->add_to_cart_url, apply_filters(‘woocommerce_product_add_to_cart_url’),
   WP_Hook->apply_filters, call_user_func_array, WC_GFPA_Display->get_add_to_cart_url,
   WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong, _doing_it_wrong, trigger_error
 * NOTICE: wp-includes/functions.php:4204 – id 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/taxonomy-
   product_cat.php’), wc_get_template, 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, DOPBSPWooCommerceCategory-
   >displayButtons, WC_Product_Variable->add_to_cart_text, apply_filters(‘woocommerce_product_add_to_cart_text’),
   WP_Hook->apply_filters, call_user_func_array, WC_GFPA_Display->get_add_to_cart_text,
   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.)
    require(‘
   wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘/
   plugins/woocommerce/templates/taxonomy-product_cat.php’), wc_get_template, 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, DOPBSPWooCommerceCategory-
   >displayButtons, WC_Product_Variable->add_to_cart_text, apply_filters(‘woocommerce_product_add_to_cart_text’),
   WP_Hook->apply_filters, call_user_func_array, WC_GFPA_Display->get_add_to_cart_text,
   WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong, _doing_it_wrong, trigger_error

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Moderator [Mel Choyce-Dwan](https://wordpress.org/support/users/melchoyce/)
 * (@melchoyce)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/debugging-errors/#post-11009662)
 * If you can, it would be good to update PHP. That will likely resolve the issue.
   Here’s some information on how to do that: [https://wordpress.org/support/update-php/#how-to-update-your-website%E2%80%99s-php-version-for-a-faster-more-secure-website](https://wordpress.org/support/update-php/#how-to-update-your-website%E2%80%99s-php-version-for-a-faster-more-secure-website)
 *  Thread Starter [kpukpu](https://wordpress.org/support/users/kpukpu/)
 * (@kpukpu)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/debugging-errors/#post-11011434)
 * Hi Mel,
 * Thank you for that.
 * I only have 1 problem. I am working on a subdomain – Staged site.
    We have a 
   live site which we currently can’t update the PHP for otherwise it breaks due
   to plugin.
 * Would you know how I can update the php just for the staged subdomain? Once This
   seems to fix the error this staged subdomain will be transferred to subdomain
   and the main site url will be redirected to this one.
 *  Moderator [Mel Choyce-Dwan](https://wordpress.org/support/users/melchoyce/)
 * (@melchoyce)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/debugging-errors/#post-11013122)
 * Unfortunately I’m not sure about that one — you might want to get in touch with
   your host and ask them if that’s something they could do for you.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Debugging Errors’ is closed to new replies.

## Tags

 * [debugging](https://wordpress.org/support/topic-tag/debugging/)
 * [errors](https://wordpress.org/support/topic-tag/errors/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [Mel Choyce-Dwan](https://wordpress.org/support/users/melchoyce/)
 * Last activity: [7 years, 5 months ago](https://wordpress.org/support/topic/debugging-errors/#post-11013122)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
