Title: PHP Fatal error when using Test classifier
Last modified: June 7, 2023

---

# PHP Fatal error when using Test classifier

 *  Resolved [samlinck](https://wordpress.org/support/users/samlinck/)
 * (@samlinck)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/php-fatal-error-when-using-test-classifier/)
 * I get this error when i do “test classifier”. While testing the plugin on mu 
   local machine with valet.
   PHP Fatal error: Uncaught Rubix\ML\Exceptions\EmptyDataset:
   Dataset must contain at least 1 sample.
    -  This topic was modified 3 years, 1 month ago by [samlinck](https://wordpress.org/support/users/samlinck/).

Viewing 1 replies (of 1 total)

 *  Plugin Author [Giuseppe](https://wordpress.org/support/users/mociofiletto/)
 * (@mociofiletto)
 * [3 years ago](https://wordpress.org/support/topic/php-fatal-error-when-using-test-classifier/#post-16845764)
 * The error was due to inline_scripts table being empty. I hope with development
   version you can populate tables and capturing scripts. However, the test classifier
   code has been update to log the evidence of an empty table and to don’t throw
   a Fatal Error.

Viewing 1 replies (of 1 total)

The topic ‘PHP Fatal error when using Test classifier’ is closed to new replies.

 * ![](https://ps.w.org/no-unsafe-inline/assets/icon-256x256.png?rev=2699768)
 * [No unsafe-inline](https://wordpress.org/plugins/no-unsafe-inline/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/no-unsafe-inline/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/no-unsafe-inline/)
 * [Active Topics](https://wordpress.org/support/plugin/no-unsafe-inline/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/no-unsafe-inline/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/no-unsafe-inline/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Giuseppe](https://wordpress.org/support/users/mociofiletto/)
 * Last activity: [3 years ago](https://wordpress.org/support/topic/php-fatal-error-when-using-test-classifier/#post-16845764)
 * Status: resolved