Fatal error on plugin activation with wp-cli
-
I installed your plugin successfully with wp-cli, then when I tried to activate it (also with wp-cli) I got the following error:
PHP Fatal error: Uncaught Error: Class ‘YOP_Poll_Skins’ not found in /blah/blah/blah/wp-content/plugins/yop-poll/admin/inc/dbschema.php:312
I found the class defined in yop-poll/admin/models/skins.php, but it seems that class is not loaded in a timely fashion when activating with wp-cli.
I was able to successfully activate the plugin through the UI, but I am not always able to do that.
The page I need help with: [log in to see the link]
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Fatal error on plugin activation with wp-cli’ is closed to new replies.