Issue when using Wp-cli
-
Hello,
Here is what I use wp-cli:
cd /var/www/mysite.com/htdocs/wp-content/uploadswp media-file-renamer rename_all --allow-rootThen it will throw errors:
PHP Fatal error: Uncaught TypeError: round(): Argument #1 ($num) must be of type int|float, string given in /var/www/mysite.com/htdocs/wp-content/plugins/tumult-hype-animations/includes/variables.php:32 Stack trace: #0 /var/www/mysite.com/htdocs/wp-content/plugins/tumult-hype-animations/includes/variables.php(32): round() #1 /var/www/mysite.com/htdocs/wp-content/plugins/tumult-hype-animations/includes/variables.php(10): parse_size() #2 /var/www/mysite.com/htdocs/wp-content/plugins/tumult-hype-animations/includes/variables.php(5): upload_mb() #3 /var/www/mysite.com/htdocs/wp-content/plugins/tumult-hype-animations/hypeanimations.php(19): include('...') #4 /var/www/mysite.com/htdocs/wp-settings.php(453): include_once('...') #5 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1349): require('...') #6 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1267): WP_CLI\Runner->load_wordpress() #7 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Bootstrap/LaunchRunner.php(28): WP_CLI\Runner->start() #8 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/bootstrap.php(83): WP_CLI\Bootstrap\LaunchRunner->process() #9 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/wp-cli.php(32): WP_CLI\bootstrap() #10 phar:///usr/local/bin/wp/php/boot-phar.php(20): include('...') #11 /usr/local/bin/wp(4): include('...') #12 {main} thrown in /var/www/mysite.com/htdocs/wp-content/plugins/tumult-hype-animations/includes/variables.php on line 32I just note the errors are also related to a plugin at https://ww.wp.xz.cn/plugins/tumult-hype-animations/, which is the official plugin by Tumult at https://tumult.com/, that support to upload H5 animation by the software Hype.
Any way to fix the error, or any suggestions to the author of Hype animations if those error is relavent please?
Thanks
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Issue when using Wp-cli’ is closed to new replies.