WPBP / WordPress-Plugin-Boilerplate-Powered

Wordpress Plugin Boilerplate but Powered with examples and a generator!
https://wpbp.github.io/
GNU General Public License v3.0
793 stars 114 forks source link

wp_add_inline_script was called incorrectly #187

Closed jeff-preload closed 3 years ago

jeff-preload commented 3 years ago

Loaded the plugin base using wpbp-generator cli provided here. Running WP 5.8 Fresh install, only plugin running.

Getting Notices 'wp_add_inline_script was called incorrectly' triggered by

Notices seem to be associated with calls in wp-duper-duper.php, lines 80 - 82 Apparently 'admin-widgets', 'customize-controls' and 'widgets' have not been enqueued yet...?

Running on local env. using Lando using php7.4, mariaDB, composer, npm, etc. Required php extensions for wpbp-generator installed. Not getting any errors from wpbp-generator during install/compile

Mte90 commented 3 years ago

This is a bug of that library and not of this boilerplate. You need to report on https://github.com/AyeCode/wp-super-duper