EMRL / stir

Designed to speed up, integrate, and automate maintaining and updating of Wordpress websites.
5 stars 1 forks source link

Incorrect reporting of core update status #138

Closed fdiebel closed 5 years ago

fdiebel commented 6 years ago

What type of report is this:

Q A
Bug report?
Feature request?
Enhancement?

Description:

Since core update success is being check by grepping for version it throws an error when there is PHP log output like that below. Need to design a new way to check, comparing version numbers directly would be best.

If a bug:

Q A
Deploy version 3.7.2-dev

Log errors:

PHP Deprecated:  Methods with the same name as their class will not be constructors in a future version of PHP; RSS_Import has a deprecated constructor in /var/www/html/zielps/public/app/plugins/rss-importer/rss-importer.php on line 42
PHP Stack trace:
PHP   1. {main}() /opt/wp-cli/wp-cli.phar:0
PHP   2. include() /opt/wp-cli/wp-cli.phar:4
PHP   3. include() phar:///opt/wp-cli/wp-cli.phar/php/boot-phar.php:8
PHP   4. WP_CLI\bootstrap() phar:///opt/wp-cli/wp-cli.phar/php/wp-cli.php:23
PHP   5. WP_CLI\Bootstrap\LaunchRunner->process() phar:///opt/wp-cli/wp-cli.phar/php/bootstrap.php:75
PHP   6. WP_CLI\Runner->start() phar:///opt/wp-cli/wp-cli.phar/php/WP_CLI/Bootstrap/LaunchRunner.php:23
PHP   7. WP_CLI\Runner->load_wordpress() phar:///opt/wp-cli/wp-cli.phar/php/WP_CLI/Runner.php:1100
PHP   8. require() phar:///opt/wp-cli/wp-cli.phar/php/WP_CLI/Runner.php:1174

Please check for related errors in your log files.

fdiebel commented 6 years ago

Difficult to track down, depends on so much environment stuff + wp-cli. Removing from milestone.