Title: Fatal Error
Last modified: February 4, 2022

---

# Fatal Error

 *  Resolved [astrodates](https://wordpress.org/support/users/astrodates/)
 * (@astrodates)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/fatal-error-4064/)
 * Error Details
    ============= An error of type E_ERROR was caused in line 142 
   of the file /home/bwxfe1zah135/public_html/speedienglish.com/wp-content/plugins/
   sensei-lms/includes/course-theme/class-sensei-course-theme-option.php. Error 
   message: Uncaught TypeError: Argument 1 passed to Sensei_Course_Theme_Option::
   has_sensei_theme_enabled() must be of the type int, string given, called in /
   home/bwxfe1zah135/public_html/speedienglish.com/wp-content/plugins/sensei-lms/
   includes/course-theme/class-sensei-course-theme.php on line 344 and defined in/
   home/bwxfe1zah135/public_html/speedienglish.com/wp-content/plugins/sensei-lms/
   includes/course-theme/class-sensei-course-theme-option.php:142 Stack trace: #
   0 /home/bwxfe1zah135/public_html/speedienglish.com/wp-content/plugins/sensei-
   lms/includes/course-theme/class-sensei-course-theme.php(344): Sensei_Course_Theme_Option::
   has_sensei_theme_enabled(”) #1 /home/bwxfe1zah135/public_html/speedienglish.com/
   wp-content/plugins/sensei-lms/includes/class-sensei-settings.php(866): Sensei_Course_Theme::
   get_sensei_theme_customize_url() #2 /home/bwxfe1zah135/public_html/speedienglish.
   com/wp-admin/includes/template.php(1743): Sensei_Settings->render_learning_mode_setting(
   Array) #3 /home/bwxfe1zah135/public_html/speedienglish.c
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ffatal-error-4064%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Support [Jay](https://wordpress.org/support/users/bluejay77/)
 * (@bluejay77)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/fatal-error-4064/#post-15337508)
 * Hi [@astrodates](https://wordpress.org/support/users/astrodates/),
 * Did you resolve this Fatal Error issue here? I see that you have created other
   threads as well ([https://wordpress.org/support/topic/admin-cannot-see-pages/](https://wordpress.org/support/topic/admin-cannot-see-pages/))
   where it seems like you’ve resolved the issues on your own?
 * Thanks 🙂
 *  [Peter Kiss (a11n)](https://wordpress.org/support/users/yscik8/)
 * (@yscik8)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/fatal-error-4064/#post-15356903)
 * I think this could only happen when the lesson’s course ID meta is changed to
   an invalid value, but we’re adding a bit more flexibility to this check. Issue
   to track: [https://github.com/Automattic/sensei/pull/4766](https://github.com/Automattic/sensei/pull/4766)
 *  Plugin Support [Jay](https://wordpress.org/support/users/bluejay77/)
 * (@bluejay77)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-4064/#post-15379797)
 * Hi [@astrodates](https://wordpress.org/support/users/astrodates/),
 * We have released Sensei 4.0.2, which includes the fix Peter mentioned above.
 * Would you try updating to the latest version of Sensei and see if the issue persists?
 * Thanks! 🙂

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Fatal Error’ is closed to new replies.

 * ![](https://ps.w.org/sensei-lms/assets/icon-128x128.gif?rev=2914239)
 * [Sensei LMS - Online Courses, Quizzes, & Learning](https://wordpress.org/plugins/sensei-lms/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/sensei-lms/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/sensei-lms/)
 * [Active Topics](https://wordpress.org/support/plugin/sensei-lms/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/sensei-lms/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/sensei-lms/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [Jay](https://wordpress.org/support/users/bluejay77/)
 * Last activity: [4 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-4064/#post-15379797)
 * Status: resolved