getherbert / herbert

The WordPress Plugin Framework:
http://getherbert.com/
632 stars 94 forks source link

Building the demos plugins #96

Open imboden opened 8 years ago

imboden commented 8 years ago

I installed the 2 demos plugins Api Posts and Socializr. I run the composer install and composer dump-autoload. When I try to activate the Api Posts module with Wordpress 4.4.2 I got :

Fatal error: Uncaught PDOException: SQLSTATE[42000]: Syntax error or access violation: 1253 COLLATION 'utf8_general_ci' is not valid for CHARACTER SET 'utf8mb4' in /Applications/MAMP/htdocs/example-plugin-master/vendor/illuminate/database/Connectors/MySqlConnector.php on line 40 ( ! ) PDOException: SQLSTATE[42000]: Syntax error or access violation: 1253 COLLATION 'utf8_general_ci' is not valid for CHARACTER SET 'utf8mb4' in /Applications/MAMP/htdocs/example-plugin-master/vendor/illuminate/database/Connectors/MySqlConnector.php on line 40

and with Socializr just Plugin could not be activated because it triggered a fatal error.

what should I update to make them run on a my WP install? UTF8 is not usable?

sahogg commented 8 years ago

Did you find a solution to this? Just ran into this myself!

imboden commented 8 years ago

Nop, sadly same result with the plugin from Herbet / github and the plugin in the official WP repository!

Before basing your dev on Herbert try also to build several plugin on Herbet and make them run under the same installation of WordPress, look like this is making some problem

My research on topic, hope it can help you : http://www.sagenda.com/wordpress-plugin-framework-review/