Many errros in debug mode caused by this plugin
-
Please repair errors caused by this plugin, latest versions. When I disable it, errors are gone:
Backtrace from warning 'wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. Please see Debugging in WordPress for more information. (This message was added in version 3.3.)' at /home/xxx/public_html/dev/wp-includes/functions.php 3792: /home/xxx/public_html/dev/wp-includes/functions.php 3792 calling trigger_error() /home/xxx/public_html/dev/wp-includes/functions.wp-scripts.php 46 calling _doing_it_wrong() /home/xxx/public_html/dev/wp-includes/functions.wp-scripts.php 224 calling _wp_scripts_maybe_doing_it_wrong() /home/xxx/public_html/dev/wp-content/plugins/contact-form-manager/admin/menu.php 98 calling wp_enqueue_script() /home/xxx/public_html/dev/wp-content/plugins/contact-form-manager/contact-form-manager.php 43 calling require() /home/xxx/public_html/dev/wp-settings.php 254 calling include_once() /home/xxx/public_html/dev/wp-config.php 226 calling require_once() /home/xxx/public_html/dev/wp-load.php 37 calling require_once() /home/xxx/public_html/dev/wp-admin/admin.php 31 calling require_once() /home/xxx/public_html/dev/wp-admin/plugin-install.php 15 calling require_once()
Actually I’ve found a cause myself, it in /admin/menu
wp_enqueue_script('jquery');
line 99
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Many errros in debug mode caused by this plugin’ is closed to new replies.