Support » Plugin: Recencio Book Reviews » Critical error with MailPoet 2

  • Resolved wpkiller

    (@wpkiller)


    Dear Kemory,

    I hope you’re doing fine these hectic days…
    I was trying to create a newletter using MailPoet v2.14 (can’t use MailPoet 3 due to RTL issues) and got the following critical error:

    5.5.3
    Current theme: OceanWP Child (version 1.0)
    Current plugin: Recencio Book Reviews (version 1.45.0)
    PHP version 7.2.33
    
    Error details
    ===================
    Error type E_ERROR in line 577 in file /home/david/public_html/wp-content/plugins/recencio-book-reviews/admin/class-rcno-reviews-admin.php. Error message: Uncaught Error: Call to a member function add_help_tab() on null in /home/david/public_html/wp-content/plugins/recencio-book-reviews/admin/class-rcno-reviews-admin.php:577
    Stack trace:
    #0 /home/david/public_html/wp-includes/class-wp-hook.php(287): Rcno_Reviews_Admin->rcno_reviews_help_tab('')
    #1 /home/david/public_html/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array)
    #2 /home/david/public_html/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
    #3 /home/david/public_html/wp-admin/includes/media.php(569): do_action('admin_head')
    #4 /home/david/public_html/wp-content/plugins/wysija-newsletters/controllers/back.php(530): wp_iframe(Array, Array)
    #5 /home/david/public_html/wp-includes/class-wp-hook.php(287): WYSIJA_control_back->popupReturn('articles')
    #6 /home/david/public_html/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters('', Array)
    #7 /home/david/public_html/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
    #8 /home/david/public_html/wp-content/plugins/wysija-newslett

    Last time I’ve created a newsletter was in April 2nd and it worked with no issue.
    Would appreciate if you could look into it…

    TIA!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Kemory Grubb

    (@w33zy)

    Hey @wpkiller

    Thanks for catching this error. I wasn’t able to reproduce it with MailPoet 2 installed but I do see how this error would be possible.

    Is it possible for you to edit /recencio-book-reviews/admin/class-rcno-reviews-admin.php:565 and tell me if the error is still present?

    Change that code block to:

    if ( ( null === $screen ) || ( $screen && 'rcno_review' !== $screen->post_type ) ) {
        return;
    }
    Thread Starter wpkiller

    (@wpkiller)

    Yes, it works great with your change! Thanks a lot!!!

    Plugin Author Kemory Grubb

    (@w33zy)

    OK, I will fix this issue in the next update

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Critical error with MailPoet 2’ is closed to new replies.