I just ended up with the same thing. I have a staging site using your plugin that has worked great for months. Now I have a white screen on the admin side, though the front end looks fine.
I was playing with WooCommerce, which has been installed for a week or so and installing it went fine.
Today, I added a woocommerce.php theme page, per WooCommerce instructions. I don’t think that did anything.
I was trying to get rid of a dropdown on the shop page. I tried using code suggested by others in the functions file. It created the blank screen when I saved it. I removed the code through FTP (no mistakes on that; I checked). I was temporarily able to get to the admin area again but anytime I tried to save anything in the admin area, I got the white screen. I opened the permalinks page and saved it. And that was the end. No access to the admin screen.
That code I used perhaps did something in the database? Or opening the permalinks page.
This was the code:
// remove default sorting dropdown
?
remove_action( 'woocommerce_before_shop_loop', 'woocommerce_catalog_ordering', 30 );
// remove default sorting dropdown in StoreFront Theme
?
add_action('init','delay_remove');
?
function delay_remove() {
remove_action( 'woocommerce_after_shop_loop', 'woocommerce_catalog_ordering', 10 );
remove_action( 'woocommerce_before_shop_loop', 'woocommerce_catalog_ordering', 10 );
}
I have changed debugging in my config file to true, but when I try to access the admin area, I get nothing but the white page.
What should I do? I would hate to have to recreate the entire staging site.
-
This reply was modified 8 years, 3 months ago by
jtm12.