HELP! I don’t know what happened, I’ve been building a site thru local for a few days and everything has worked perfectly then today all I’m getting is a white screen on both admin and webpage.
Hi Cliff,
Please check the log files in the logs
directory for that site. There’s most likely something like a plugin causing a 500 error.
Clay, thanks for responding!
I do see some error logs about some plugins…and I think the problem did arrise after I tried to update some plugins in WP.
I’m learning all this as I go a long, so I barely know what I’m doing haha.
looks like error log in:
Mysql=something about plugin “federated” is disabled
Nginx=17#0: *14918 FastCGI sent in stderr: "PHP message: PHP Warning: fopen(/app/public/wp-content/plugins/ultimate-faqs/Main.php): failed to open stream: No such file or directory in /app/public/wp-includes/functions.php on line 4785
No problem!
I would go ahead browse to app/public/wp-content/plugins
and remove ultimate-faqs
. After doing that the site should work again.
Once you’re able to see the site again, you can try re-installing the plugin to see if it happens again.
I deleted ultimate-faqs and still have the same issue. Looks like I didn’t read far enough and there’s something about woocomerce too. If i delete that will I lose all my products I have made?
2017/07/11 14:14:11 [error] 17#0: *14918 FastCGI sent in stderr: “PHP message: PHP Warning: fopen(/app/public/wp-content/plugins/ultimate-faqs/Main.php): failed to open stream: No such file or directory in /app/public/wp-includes/functions.php on line 4785
PHP message: PHP Warning: fread() expects parameter 1 to be resource, boolean given in /app/public/wp-includes/functions.php on line 4788
PHP message: PHP Warning: fclose() expects parameter 1 to be resource, boolean given in /app/public/wp-includes/functions.php on line 4791” while reading upstream, client: 127.0.0.1, server: site_domain, request: “GET /wp-admin/update.php?action=update-selected&plugins=ultimate-faqs%2FMain.php%2Cwoocommerce%2Fwoocommerce.php%2Cwordpress-seo%2Fwp-seo.php&_wpnonce=8805b35824 HTTP/1.0”, upstream: “fastcgi://unix:/var/run/php-fpm.sock:”, host: “mfg-res.dev”, referrer: “http://mfg-res.dev/wp-admin/update-core.php?action=do-plugin-upgrade”
2017/07/11 14:49:18 [error] 18#0: *1 FastCGI sent in stderr: “PHP message: PHP Fatal error: Class ‘WC_Payment_Gateway’ not found in /app/public/wp-content/plugins/woocommerce-gateway-paypal-powered-by-braintree/lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php on line 36” while reading response header from upstream, client: 127.0.0.1, server: site_domain, request: “GET / HTTP/1.1”, upstream: “fastcgi://unix:/var/run/php-fpm.sock:”, host: “mfg-res.dev”
got it to work by deleting and reinstalling woocommerce. Thanks for the help Clay.