• Resolved qinzo

    (@qinzo)


    Hi!
    Recently I got mails from wordpress for warning a fatal error with this plugin.

    “Since WordPress 5.2 there is a built-in feature that detects when a plugin or theme causes a fatal error on your site, and notifies you with this automated email.

    In this case, WordPress caught an error with one of your plugins, WP Dark Mode.

    When seeking help with this issue, you may be asked for some of the following information:
    WordPress version 6.1
    Active theme: Promos (version 1.1.1)
    Current plugin: WP Dark Mode (version 3.0.2)
    PHP version 7.4.33
    
    Error Details
    =============
    An error of type E_ERROR was caused in line 19 of the file /home/gorjesss/public_html/wp-content/plugins/wp-dark-mode/templates/admin/promo.php. Error message: Uncaught Error: Class 'WPPOOL\Product' not found in /home/gorjesss/public_html/wp-content/plugins/wp-dark-mode/templates/admin/promo.php:19
    Stack trace:
    #0 /home/gorjesss/public_html/wp-content/plugins/wp-dark-mode/includes/base.php(261): include()
    #1 /home/gorjesss/public_html/wp-content/plugins/wp-dark-mode/includes/class-hooks.php(319): WP_Dark_Mode->get_template('admin/promo')
    #2 /home/gorjesss/public_html/wp-includes/class-wp-hook.php(308): WP_Dark_Mode_Hooks->pro_promo('')
    #3 /home/gorjesss/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters('', Array)
    #4 /home/gorjesss/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #5 /home/gorjesss/public_html/wp-content/plugins/wp-dark-mode/includes/admin/class-settings-api.php(724): do_action('wppool_after_se...')
    #6 /home/gorjesss/public_html/wp-content/plugins/wp-dark-mode/includes/admin/class-settings-api.php(740): WPPOOL_Settings_API->show_forms()
    #7 /home/gorjesss/public_html/wp-content/plugins/wp-dark-mode/includes/admin/

    I have to disable plugin because of this error, please fix it soon.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi,

    Are you still having this problem? We checked, and there was no problem like the one you described. Would you please share with us any screenshots or video recordings if you want?

    Thanks

    Thread Starter qinzo

    (@qinzo)

    @jakirriaaz Hi,
    The specific error is the same as in the recording video, the media library is not displayed when using this plugin.

    Plugin Support toukirwpdev

    (@toukirwpdev)

    Thanks for sharing an explanation video. We have checked the issue by setting the same configuration as you mentioned above.

    WordPress version 6.1
    Active theme: Promos (version 1.1.1)
    Current plugin: WP Dark Mode (version 3.0.2)
    PHP version 7.4.33

    It works fine with “WP Dark Mode” and didn’t find any errors.👉 Watch the video

    Thread Starter qinzo

    (@qinzo)

    @toukirwpdev Hi, I’ll check my website again, thanks for your support.

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

The topic ‘Fatal error with WP Dark Mode’ is closed to new replies.