Clicking Activate Crashed My Site
-
Clicking Activate Crashed My Site
-
Very sorry to hear that it caused you problems. This is the first notice I have received of it causing this type of problem. Have you updated to the most recent version? Would you might be able to provide some more detail to help me troubleshoot like plugins you use and version information. Did it give a specific error or how exactly did it “crash your site”?
Yes I’m on the latest version. Please drop me an email at into at Fantasyfootballfirst.co.uk and I’ll help debug the problem
I’d prefer to keep the troubleshooting within this support thread so others can benefit from it as well. Could you list what plugins you are using? I am betting there is some conflict with another plugin that I am not aware of yet. Thanks.
Hi oooorgle,
I have the same issue, while activating plugin, there is some issue with the plugin, can you take a look?
2016/03/31 17:52:12 [error] 3672#3672: *699 FastCGI sent in stderr: “PHP message: PHP Fatal error: Uncaught Error: Class ‘QuotesLlamaWidget’ not found in /var/www/asdasd.de/htdocs/wp-includes/class-wp-widget-factory.php:43
Stack trace:
#0 /var/www/asdasd.de/htdocs/wp-includes/widgets.php(113): WP_Widget_Factory->register(‘QuotesLlamaWidg…’)
#1 /var/www/asdasd.de/htdocs/wp-content/plugins/quotes-llama/quotes-llama.php(112) : runtime-created function(1): register_widget(‘QuotesLlamaWidg…’)
#2 /var/www/asdasd.de/htdocs/wp-includes/plugin.php(525): __lambda_func(”)
#3 /var/www/asdasd.de/htdocs/wp-includes/widgets.php(1463): do_action(‘widgets_init’)
#4 /var/www/asdasd.de/htdocs/wp-includes/plugin.php(525): wp_widgets_init(”)
#5 /var/www/asdasd.de/htdocs/wp-settings.php(392): do_action(‘init’)
#6 /var/www/asdasd.de/htdocs/wp-config.php(118): require_once(‘/var/www/asdasd…’)
#7 /var/www/asdasd.de/htdocs/wp-load.php(37): require_once(‘/var/www/asdasd…’)
#8 /var/www/asdasd.de/htdocs/wp-admin/admin.php(31): requ” while reading response header from upstream, client: 95.18.78.124, server: asdasd.de, request: “GET /wp-admin/upload.php HTTP/1.1”, upstream: “fastcgi://unix:/var/run/php/php7.0-fpm.sock:”, host: “www.asdasd.de”Edit, I’m using latest wordpress 4.4.2, nginx, php7 with fpm
Hi runoiz, that message from the fastcgi server usually means that it was not found or inaccessible as a file on its filesystem. Please verify that the plugin files are there and the filesystem can access them. If it happens to be a conflict with another plugin can you provide what plugins you are running along with this one?
I think it is a conflict with nginx but I need to do more research. Hopefully I can figure this out sooner than later. Thanks for providing more information!
Hi oooorgle,
I disabled all plugins, doesn’t work either. Maybe this issue is related to php7?
I have updated how the plugin registers the sidebar widget class and think perhaps this is what is causing the conflict. Would you be willing to test this for me?
https://oooorgle.com/plugins/wp/quotes-llama/quotes-llama_0.2.1.zip
I would be very grateful as I don’t have an environment like yours to check myself. Otherwise I can post a release that includes this change and you can get it that way. Thanks!
Nope, same issue/error again.
This time I have updated the 0.2.1 widget class’s parent constructor to it basic arguments and provided a static name instead of having the function generate one (please use same link above).
If this fails then perhaps I will remove the widget class from the plugin to see if the page and gallery works for you, if not then at least it will give more detail with the new error code returned. I am in your debt for helping me troubleshoot this, thanks again.
nope, doesn’t work either, same error.
Ok, I now have removed the widget init. Please use same link above to try again. At the very least it shouldn’t throw the same error. Thanks!
Ok, seems working, I will test the plugin itself. Straight out, Ive got following error message:
2016/04/10 23:25:18 [error] 30684#30684: *15095 FastCGI sent in stderr: "PHP message: PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, class 'QuotesLlama' does not have a method 'strip_wp_http_referrer' in /var/www/asdasd.de/htdocs/wp-includes/plugin.php on line 525" while reading response header from upstream, client: 8.8.8.8, server: www.asdasd.de, request: "GET /wp-admin/plugins.php?activate=true&plugin_status=all&paged=1&s= HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php7.0-fpm.sock:", host: "www.asdasd.de", referrer: "https://www.asdasd.de/wp-admin/update.php?action=upload-plugin"
I removed the function in question, replacing it with a $_REQUEST. Why I didn’t do that before is one of my doh’s! I had it running on every page instead of only searches where it is needed. Hopefully this corrects that warning. If you would be so kind as to give it another shot, same link. Thanks!
Release 0.2.1 includes the above changes along with the re-enabled widget class. I will leave this open for a time in hopes I am able to further address the issues presented here.
I am closing this until further issues present themselves.
- The topic ‘Clicking Activate Crashed My Site’ is closed to new replies.