WP_Block_Type_Registry::register was called incorrectly
-
Hi,
I got this notice:
Notice: WP_Block_Type_Registry::register was called incorrectly. Block type “insert-pages/block” is already registered. Please see Debugging in WordPress for more information. (This message was added in version 5.0.0.) in /home/vagrant/Code/mysite/wp-includes/functions.php on line
I was able to narrow it down to the Advanced Custom Fields plugin
I tried it on:
a clean install of WordPress – 5.4.2
With Advanced Custom Fields – 5.8.12
Insert Pages – 3.5.5
And debug turned on:
define( 'WP_DEBUG', true );When creating a new page http://mysite.test/wp-admin/post-new.php?post_type=page
The PHP orange warning message appears (and then it may disappear, as on another install it doesn’t).Using Homestead with PHP 7.4.5.
The topic ‘WP_Block_Type_Registry::register was called incorrectly’ is closed to new replies.