Title: PHP Warnings
Last modified: December 31, 2018

---

# PHP Warnings

 *  [Tom J Nowell](https://wordpress.org/support/users/tjnowell/)
 * (@tjnowell)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/php-warnings-71/)
 * When viewing the tester page under tools in WP Admin, a number of PHP warnings
   and notices crop up:
 *     ```
       Notice: 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.0.) in /srv/www/wordpress-default/public_html/wp-includes/functions.php on line 4204
   
       Notice: 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.0.) in /srv/www/wordpress-default/public_html/wp-includes/functions.php on line 4204
   
       Notice: wp_enqueue_style 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.0.) in /srv/www/wordpress-default/public_html/wp-includes/functions.php on line 4204
   
       Notice: wp_enqueue_style 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.0.) in /srv/www/wordpress-default/public_html/wp-includes/functions.php on line 4204
   
       Notice: Undefined index: performTest in /srv/www/wordpress-default/public_html/wp-content/plugins/wpperformancetester/WPPerformanceTester_Plugin.php on line 15
       ```
   

Viewing 1 replies (of 1 total)

 *  Thread Starter [Tom J Nowell](https://wordpress.org/support/users/tjnowell/)
 * (@tjnowell)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/php-warnings-71/#post-11039946)
 * I’ve submitted a pull request with fixes here:
 * [https://github.com/kevinohashi/WPPerformanceTester/pull/9](https://github.com/kevinohashi/WPPerformanceTester/pull/9)

Viewing 1 replies (of 1 total)

The topic ‘PHP Warnings’ is closed to new replies.

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

 * 1 reply
 * 1 participant
 * Last reply from: [Tom J Nowell](https://wordpress.org/support/users/tjnowell/)
 * Last activity: [7 years, 5 months ago](https://wordpress.org/support/topic/php-warnings-71/#post-11039946)
 * Status: not resolved