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
orwp 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
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘WP CLI error when running commands’ is closed to new replies.