mukadi-wordpress-bundle icon indicating copy to clipboard operation
mukadi-wordpress-bundle copied to clipboard

The theme directory "wp-blank" does not exist.

Open webgrity2016 opened this issue 5 years ago • 2 comments

I am using Symfony 4.3 with mukadi-wordpress-bundle. Follow the exact instructions given here. But after completing the installation, display the following error:

The theme directory "wp-blank" does not exist.
ERROR: The themes directory is either empty or doesn’t exist. Please check your installation.

In my composer.json file the theme, plugin folder not under the wp folder, nut installed under public folder directly as per the given instruction. Please refer below: Before installing the bundle, edit your composer.json file and specify the following options:

"extra": { ... "symfony": { ... "allow-contrib": "true" # allow symfony flex to install recipe (if your are using symfony flex) } ... # set installation path for wordpress themes and plugins "installer-paths": { "public/mu-plugins/{$name}": ["type:wordpress-muplugin"], "public/plugins/{$name}": ["type:wordpress-plugin"], "public/themes/{$name}": ["type:wordpress-theme"] }, # install wordpress in a public sub-directory "wordpress-install-dir": "public/wp" },

Pls help me.

webgrity2016 avatar Nov 19 '19 12:11 webgrity2016

Hello @webgrity2016 i have tried to reproduce your bug by following documentation but everything seem to be alright. Are you sure you don't miss some step ?

mbo2olivier avatar Nov 20 '19 18:11 mbo2olivier

I also had this bug but then resolved it. It came up when resolving dependency issues between what is included in symfony/skeleton and what is required by mukadi-wordpress-bundle. I made sure to remove any packages from my composer.json file that are included in mukadi-wordpress-bundle composer.json and then it worked.

cjanow3 avatar Jun 04 '21 15:06 cjanow3