Title: PHP Notice errors in debug.log
Last modified: December 12, 2018

---

# PHP Notice errors in debug.log

 *  [michaelsamo](https://wordpress.org/support/users/michaelsamo/)
 * (@michaelsamo)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/php-notice-errors-in-debug-log/)
 * Hi there
 * At first I was noticing 10 debug lines a second appearing, after a while this
   log file took up 30 gigs of space.
 * Continuous repetition of this:
 *     ```
       [12-Dec-2018 13:17:57 UTC] PHP Notice:  wp_enqueue_script was called <strong>incorrectly</strong>. Scripts and styles should not be registered or enqueued until the <code>wp_enqueue_scripts</code>, <code>admin_enqueue_scripts</code>, or <code>login_enqueue_scripts</code> hooks. Please see <a href="https://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.3.0.) in /var/www/websiteurl.com/htdocs/wp-includes/functions.php on line 4161
       [12-Dec-2018 13:17:57 UTC] PHP Notice:  wp_enqueue_style was called <strong>incorrectly</strong>. Scripts and styles should not be registered or enqueued until the <code>wp_enqueue_scripts</code>, <code>admin_enqueue_scripts</code>, or <code>login_enqueue_scripts</code> hooks. Please see <a href="htt
       ```
   
 * After installing query monitor , it told me fluid player is the cause of this.
   
   I’m seeing the same thing here: [https://plugintests.com/plugins/fluid-player/latest](https://plugintests.com/plugins/fluid-player/latest)
 * Is there anything that can be done about this [@fluidplayer](https://wordpress.org/support/users/fluidplayer/)?
   
   Thanks !
 * ps: some more info from query monitor:
 *     ```
       FluidPlayerPlugin::init()
       wp-content/plugins/fluid-player/fluid-player.php:14
       FluidPlayerPlugin::loadAssets()
       wp-content/plugins/fluid-player/FluidPlayerPlugin.php:19
       wp_enqueue_script()
       wp-content/plugins/fluid-player/FluidPlayerPlugin.php:12
       _wp_scripts_maybe_doing_it_wrong()
       wp-includes/functions.wp-scripts.php:267
       wp-includes/functions.php:4161
       ```
   
 *     ```
       FluidPlayerPlugin::init()
       wp-content/plugins/fluid-player/fluid-player.php:14
       FluidPlayerPlugin::loadAssets()
       wp-content/plugins/fluid-player/FluidPlayerPlugin.php:19
       wp_enqueue_style()
       wp-content/plugins/fluid-player/FluidPlayerPlugin.php:14
       _wp_scripts_maybe_doing_it_wrong()
       wp-includes/functions.wp-styles.php:165
       wp-includes/functions.php:4161
       ```
   
    -  This topic was modified 7 years, 5 months ago by [michaelsamo](https://wordpress.org/support/users/michaelsamo/).
    -  This topic was modified 7 years, 5 months ago by [michaelsamo](https://wordpress.org/support/users/michaelsamo/).
    -  This topic was modified 7 years, 5 months ago by [michaelsamo](https://wordpress.org/support/users/michaelsamo/).
    -  This topic was modified 7 years, 5 months ago by [michaelsamo](https://wordpress.org/support/users/michaelsamo/).

The topic ‘PHP Notice errors in debug.log’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/fluid-player.svg)
 * [Fluid Player](https://wordpress.org/plugins/fluid-player/)
 * [Support Threads](https://wordpress.org/support/plugin/fluid-player/)
 * [Active Topics](https://wordpress.org/support/plugin/fluid-player/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/fluid-player/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/fluid-player/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [michaelsamo](https://wordpress.org/support/users/michaelsamo/)
 * Last activity: [7 years, 5 months ago](https://wordpress.org/support/topic/php-notice-errors-in-debug-log/)
 * Status: not resolved