sidewaysdesign
Forum Replies Created
-
I am also having similar problems, receiving the following notice when WP_DEBUG is active:
“Notice: WP_Block_Patterns_Registry::register was called incorrectly. Pattern title must be a string.”
I’ve traced the problem to the function aab_wp_block_patterns() in the plugin file block-patterns.php. When doing a var_dump of the $title, after the first four default configs, it is getting called a 5th time from an unknown source (I am also running ACF). This is when it passes null to the $title variable, causing the error. I patched it by adding a check for null or empty $title like vermans’s solution above.
I also hope this is added soon; migrating some older projects has been slow as molasses because of it (and node assets are useless bulk on the host anyway).
In the meantime, I’ve had success with more recent projects in locating node_modules, gulp, WebPack etc. up the tree into the same level directory as the WordPress “app” folder.
Other benefits of this arrangement are that you don’t need to .gitignore node_modules, and it won’t gum up project folders in text editors, either.
Forum: Plugins
In reply to: [Dynamic Featured Image] Media Library Grid View does not work in 4.6.1Having the same problem, but only on a localhost copy. The media grid on the live site is still working.