Title: Issue when using Wp-cli
Last modified: July 12, 2023

---

# Issue when using Wp-cli

 *  [alexliii](https://wordpress.org/support/users/alexliii/)
 * (@alexliii)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/issue-when-using-wp-cli/)
 * Hello,
 * Here is what I use wp-cli:
 *     ```wp-block-code
       cd /var/www/mysite.com/htdocs/wp-content/uploads
       ```
   
 *     ```wp-block-code
       wp media-file-renamer rename_all --allow-root
       ```
   
 * Then it will throw errors:
 *     ```wp-block-code
       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 32
       ```
   
 * I just note the errors are also related to a plugin at [https://wordpress.org/plugins/tumult-hype-animations/](https://wordpress.org/plugins/tumult-hype-animations/),
   which is the official plugin by Tumult at [https://tumult.com/](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)

 *  Thread Starter [alexliii](https://wordpress.org/support/users/alexliii/)
 * (@alexliii)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/issue-when-using-wp-cli/#post-16894655)
 * Hello,
 * The author or Hype animation plugin already updated that plugin.
 * For now, there is no error relevant to animation plugin, but there is another
   error showing:
 *     ```wp-block-code
       cd /var/www/mysite.com/htdocs/wp-content/uploads 
   
       Then, run:
   
       wp media-file-renamer rename_all --allow-root
       ```
   
 *     ```wp-block-code
       PHP Warning:  rename(/var/www/mysite.com/htdocs/wp-content/uploads/2022/07/169-157-inch-nylon-solid-color-unisex-rucksack-school-bag-backpacks-30-mfrh-original.jpg,/var/www/mysite.com/htdocs/wp-content/uploads/2022/07/unisex-rucksack-school-bag-backpacks-mfrh-original.jpg): No such file or directory in /var/www/mysite.com/htdocs/wp-content/plugins/media-file-renamer-pro/classes/core.php on line 754
       Warning: rename(/var/www/mysite.com/htdocs/wp-content/uploads/2022/07/169-157-inch-nylon-solid-color-unisex-rucksack-school-bag-backpacks-30-mfrh-original.jpg,/var/www/mysite.com/htdocs/wp-content/uploads/2022/07/unisex-rucksack-school-bag-backpacks-mfrh-original.jpg): No such file or directory in /var/www/mysite.com/htdocs/wp-content/plugins/media-file-renamer-pro/classes/core.php on line 754
   
       WordPress database error Unknown column 'meta_value' in 'field list' for query UPDATE wp_posts 
                               SET meta_value = '2023/07/mysite99824and1854670ae6a99fc2d85647b292f94309c91fa26fw.jpg'
                               WHERE ID IN ('1854703') made by include('phar:///usr/local/bin/wp/php/boot-phar.php'), include('phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/wp-cli.php'), WP_CLI\bootstrap, WP_CLI\Bootstrap\LaunchRunner->process, WP_CLI\Runner->start, WP_CLI\Runner->run_command_and_exit, WP_CLI\Runner->run_command, WP_CLI\Dispatcher\Subcommand->invoke, call_user_func, WP_CLI\Dispatcher\CommandFactory::WP_CLI\Dispatcher\{closure}, call_user_func, MeowPro_MFRH_CLI->rename_all, mfrh_rename, Meow_MFRH_Core->rename, Meow_MFRH_Core->call_post_actions, Meow_MFRH_Core->call_hooks_rename_url, do_action('mfrh_url_renamed'), WP_Hook->do_action, WP_Hook->apply_filters, Meow_MFRH_Updates->action_update_postmeta
       ```
   
 * Please note the image of mysite99824and1854670ae6a99fc2d85647b292f94309c91fa26fw.
   jpg is from a review plugin, and we already talked about it at the post at [https://wordpress.org/support/topic/errorfastcgi-sent-in-stderr-php-message-php-warning/](https://wordpress.org/support/topic/errorfastcgi-sent-in-stderr-php-message-php-warning/)
 * So it seems that is the same issue as the one that we talked before?
 * Thanks
    -  This reply was modified 2 years, 10 months ago by [alexliii](https://wordpress.org/support/users/alexliii/).

Viewing 1 replies (of 1 total)

The topic ‘Issue when using Wp-cli’ is closed to new replies.

 * ![](https://ps.w.org/media-file-renamer/assets/icon-256x256.png?rev=2791577)
 * [Media File Renamer: Rename for better SEO (AI-Powered)](https://wordpress.org/plugins/media-file-renamer/)
 * [Support Threads](https://wordpress.org/support/plugin/media-file-renamer/)
 * [Active Topics](https://wordpress.org/support/plugin/media-file-renamer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/media-file-renamer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/media-file-renamer/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [alexliii](https://wordpress.org/support/users/alexliii/)
 * Last activity: [2 years, 10 months ago](https://wordpress.org/support/topic/issue-when-using-wp-cli/#post-16894655)
 * Status: not resolved