Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

It suddenly stopped working

$
0
0

Replies: 0

[08-Jun-2019 09:58:39] WARNING: [pool www] child 23372 said into stderr: "NOTICE: PHP message: PHP Warning:  include(/var/www/dima.stefantsov.com/releases/20190608125802/www/wp-content/plugins/simple-image-sizes/vendor/composer/../../classes/Main.php): failed to open stream: No such file or directory in /var/www/dima.stefantsov.com/releases/20190608125802/vendor/composer/ClassLoader.php on line 444"
[08-Jun-2019 09:58:39] WARNING: [pool www] child 23372 said into stderr: "NOTICE: PHP message: PHP Warning:  include(): Failed opening '/var/www/dima.stefantsov.com/releases/20190608125802/www/wp-content/plugins/simple-image-sizes/vendor/composer/../../classes/Main.php' for inclusion (include_path='.:/usr/share/php') in /var/www/dima.stefantsov.com/releases/20190608125802/vendor/composer/ClassLoader.php on line 444"
[08-Jun-2019 09:58:39] WARNING: [pool www] child 23372 said into stderr: "NOTICE: PHP message: PHP Fatal error:  Uncaught Error: Class 'Rahe\Simple_Image_Sizes\Main' not found in /var/www/dima.stefantsov.com/releases/20190608125802/www/wp-content/plugins/simple-image-sizes/simple_image_sizes.php:42"
[08-Jun-2019 09:58:39] WARNING: [pool www] child 23372 said into stderr: "Stack trace:"
[08-Jun-2019 09:58:39] WARNING: [pool www] child 23372 said into stderr: "#0 /var/www/dima.stefantsov.com/releases/20190608125802/www/wp-includes/class-wp-hook.php(286): init_sis('')"
[08-Jun-2019 09:58:39] WARNING: [pool www] child 23372 said into stderr: "#1 /var/www/dima.stefantsov.com/releases/20190608125802/www/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)"
[08-Jun-2019 09:58:39] WARNING: [pool www] child 23372 said into stderr: "#2 /var/www/dima.stefantsov.com/releases/20190608125802/www/wp-includes/plugin.php(465): WP_Hook->do_action(Array)"
[08-Jun-2019 09:58:39] WARNING: [pool www] child 23372 said into stderr: "#3 /var/www/dima.stefantsov.com/releases/20190608125802/www/wp-settings.php(394): do_action('plugins_loaded')"
[08-Jun-2019 09:58:39] WARNING: [pool www] child 23372 said into stderr: "#4 /var/www/dima.stefantsov.com/releases/20190608125802/www/wp-config.php(88): require_once('/var/www/dima.s...')"
[08-Jun-2019 09:58:39] WARNING: [pool www] child 23372 said into stderr: "#5 /var/www/dima.stefantsov.com/releases/20190608125802/www/wp-load.php(37): require_once('/var/www/dima.s...')"
[08-Jun-2019 09:58:39] WARNING: [pool www] child 23372 said into stderr: "#6 /var/www/dima.stefantsov.com/releases/20190608125802/www/wp-blog-header.php(13): requi..."

Your code broke my production AGAIN.
First it was, you committed .git folder to plugin content, because of this my deployment process didn’t include your folder.

Now it is that you changed http://4.stefantsov.com/s/2019.06.08_13.13.54_6g29b1pp.png your class initialization method. And looks like you have changed filename case as well. While my local git setup can not see a difference if it’s just name case (developing on windows, deploying to ubuntu).

Both times it’s not like it’s entirely your fault: a usual user of wordpress where he press “Update” right on the production server will have everything work fine, if you are one of that guys, SIS would not break your production even once so far.

But for me your weird code handling practices caused second production failure. Because of just your single plugin.

Be aware.


Viewing all articles
Browse latest Browse all 59525

Trending Articles