Title: WP CLI error when running commands
Last modified: September 27, 2020

---

# WP CLI error when running commands

 *  [utnalove](https://wordpress.org/support/users/utnalove/)
 * (@utnalove)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/wp-cli-error-when-running-commands/)
 * Hello,
 * when I run `wp cli info` I get the following:
 *     ```
       Shell:  /bin/bash
       PHP binary:     /usr/bin/php
       PHP version:    7.2.9
       php.ini used:   /etc/php.ini
       WP-CLI root dir:        phar://wp-cli.phar/vendor/wp-cli/wp-cli
       WP-CLI vendor dir:      phar://wp-cli.phar/vendor
       WP_CLI phar path:       /var/www/example.com
       WP-CLI packages dir:
       WP-CLI global config:
       WP-CLI project config:
       WP-CLI version: 2.4.0
       ```
   
 * And it seems to be working fine.
 * However when I run other commands such as `wp media regenerate 123` or `wp media
   image-size` I get a bunch of information such as:
 *     ```
       PHP Warning:  require_once(//includes/getLanguageDict.php): failed to open stream: No such file or directory in /var/www/example.com/wp-content/mods/motopress-content-editor/includes/ce/templates/landing.php on line 3
       Warning: require_once(//includes/getLanguageDict.php): failed to open stream: No such file or directory in /var/www/example.com/wp-content/mods/motopress-content-editor/includes/ce/templates/landing.php on line 3
       PHP Fatal error:  require_once(): Failed opening required '//includes/getLanguageDict.php' (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/example.com/wp-content/mods/motopress-content-editor/includes/ce/templates/landing.php on line 3
       Fatal error: require_once(): Failed opening required '//includes/getLanguageDict.php' (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/example.com/wp-content/mods/motopress-content-editor/includes/ce/templates/landing.php on line 3
       <div class="alert"><span class="object">id: mp_row, name: Row, icon: , closeType: enclosed, resize: none, position: 0, show: 1</span><ul class="property"><li>icon:<ul class="errors"><li>File //images/ce/object/no-object.png does not exist</li></ul> 
       ...
       perty"><li>icon:<ul class="errors"><li>File //images/ce/object/sidebar.png does not exist</li></ul></li></ul></div><div class="alert"><span class="object">id: mp_grid, name: Grid, icon: , position: 0, show: </span><ul class="property"><li>icon:<ul class="errors"><li>File //images/ce/group/no-group.png does not exist</li></ul></li></ul></div><div class="alert"><span class="object">id: mp_text, name: Text, icon: , position: 0, show: 1</span><ul class="property"><li>icon:<ul class="errors"><li>File //images/ce/group/no-group.png does not exist</li><li>File //images/ce/group/text.png does not exist</li></ul></li></ul></div><div class="alert"><span class="object">id: mp_image, name: Image, icon: , position: 10, show: 1</span><ul class="property"><li>icon:<ul class="errors"><li>File //images/ce/group/no-group.png does not exist</li><li>File //images/ce/group/image.png does not exist</li></ul></li></ul></div><div class="alert"><span class="object">id: mp_button, name: Button, icon: , position: 20, show: 1</span><ul class="property"><li>icon:<ul class="errors"><li>File //images/ce/group/no-group.png does not exist</li><li>File //images/ce/group/button.png does not exist</li></ul></li></ul></div><div class="alert"><span class="object">id: mp_media, name: Media, icon: , position: 30, show: 1</span><ul class="property"><li>icon:<ul class="errors"><li>File //images/ce/group/no-group.png does not exist</li><li>File //images/ce/group/media.png does not exist</li></ul></li></ul></div><div class="alert"><span class="object">id: mp_other, name: Other, icon: , position: 40, show: 1</span><ul class="property"><li>icon:<ul class="errors"><li>File //images/ce/group/no-group.png does not exist</li><li>File //images/ce/group/other.png does not exist</li></ul></li></ul></div><div class="alert"><span class="object">id: mp_wordpress, name: WordPress, icon: , position: 50, show: 1</span><ul class="property"><li>icon:<ul class="errors"><li>File //images/ce/group/no-group.png does not exist</li><li>File //images/ce/group/wordpress.png does not exist</li></ul></li></ul></div>[
       ```
   
 * Can anybody help please?
 * P.s. it seems related to this specific site. If I try in the root of other sites,
   they work well. Only for this specific site there are problems
    -  This topic was modified 5 years, 8 months ago by [utnalove](https://wordpress.org/support/users/utnalove/).

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Moderator [Jose Castaneda](https://wordpress.org/support/users/jcastaneda/)
 * (@jcastaneda)
 * THEME COFFEE MONKEY
 * [5 years, 8 months ago](https://wordpress.org/support/topic/wp-cli-error-when-running-commands/#post-13460358)
 * Hey there!
 * My first question is what are the differences between those sites? Do they all
   have the same plugins installed and active?
 * Not sure if you have tried using the `--skip-plugins` yet to see if that may 
   work. Just from that message it could be trying to load up something; I’ve seen
   some redirection plugins do things like that too.
 *  Thread Starter [utnalove](https://wordpress.org/support/users/utnalove/)
 * (@utnalove)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/wp-cli-error-when-running-commands/#post-13460389)
 * I found out that there is some problem in the plugin that is made by the theme
   autor of that specific site.
 * This is why `--skip-plugins` works.
 * I wrote to the theme author for help
 *  Moderator [Jose Castaneda](https://wordpress.org/support/users/jcastaneda/)
 * (@jcastaneda)
 * THEME COFFEE MONKEY
 * [5 years, 8 months ago](https://wordpress.org/support/topic/wp-cli-error-when-running-commands/#post-13460601)
 * Oh awesome, it sounds like you were able to get it running then, correct?
 *  Thread Starter [utnalove](https://wordpress.org/support/users/utnalove/)
 * (@utnalove)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/wp-cli-error-when-running-commands/#post-13460684)
 * yes with –skip-plugins it works. Without it, not

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘WP CLI error when running commands’ is closed to new replies.

## Tags

 * [wp-cli](https://wordpress.org/support/topic-tag/wp-cli/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 2 participants
 * Last reply from: [utnalove](https://wordpress.org/support/users/utnalove/)
 * Last activity: [5 years, 8 months ago](https://wordpress.org/support/topic/wp-cli-error-when-running-commands/#post-13460684)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
