JavaScript for WordPress › Forums › Gutenberg Development › Re-branding the example plugin › Reply To: Re-branding the example plugin
Hi Again,
Thank you for your response. I’ve almost made it work. with one issue only which is related to dynamic blocks. After the change I am getting this error.
Fatal error: Uncaught Error: Call to undefined function register_block_type() in /app/public/wp-content/plugins/blocks-ultimate/jsforwp-blocks.php:137 Stack trace: #0 /app/public/wp-settings.php(305): include_once() #1 /app/public/wp-config.php(87): require_once('/app/public/wp-...') #2 /app/public/wp-load.php(37): require_once('/app/public/wp-...') #3 /app/public/wp-admin/admin.php(31): require_once('/app/public/wp-...') #4 /app/public/wp-admin/plugins.php(10): require_once('/app/public/wp-...') #5 {main} thrown in /app/public/wp-content/plugins/blocks-ultimate/jsforwp-blocks.php on line 137
Also for others who may try to rebrand the plugin, remember two things.
* Do not use Upercase in your string as Block names may not contain uppercase.
* Do not use “-“ as there are functions also which will break
Now just need to fix that above error as well 🙂