Title: Display error when debug is enabled
Last modified: September 1, 2016

---

# Display error when debug is enabled

 *  [tunyafix](https://wordpress.org/support/users/tunyafix/)
 * (@tunyafix)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/display-error-when-enable-debug/)
 * This is a typo mistake in function h5pxapi_enqueue_scripts the $s start with 
   a concatenation and should be a declaration
    instead `$s.="<script>\n";` should
   be `$s="<script>\n";`
 * Best regards
 * [https://wordpress.org/plugins/wp-h5p-xapi/](https://wordpress.org/plugins/wp-h5p-xapi/)

The topic ‘Display error when debug is enabled’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-h5p-xapi_ffffff.svg)
 * [wp-h5p-xapi](https://wordpress.org/plugins/wp-h5p-xapi/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-h5p-xapi/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-h5p-xapi/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-h5p-xapi/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-h5p-xapi/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-h5p-xapi/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [tunyafix](https://wordpress.org/support/users/tunyafix/)
 * Last activity: [9 years, 10 months ago](https://wordpress.org/support/topic/display-error-when-enable-debug/)
 * Status: not resolved