• Resolved davehep

    (@davehep)


    I have recently updated all of the plugins on my website, updated to the latest WP and theme versions etc.

    Now when I try to edit a page I get a fatal error. On checking the server error logs, this is revealed:

    [15-Nov-2021 21:52:40 UTC] PHP Fatal error: Uncaught Error: Call to a member function enqueue() on null in /home/trainonl/public_html/wp-content/plugins/sensei-certificates/classes/class-woothemes-sensei-certificates.php:1470
    Stack trace:
    0 /home/trainonl/public_html/wp-includes/class-wp-hook.php(303): WooThemes_Sensei_Certificates->enqueue_block_editor_assets('') 
    1 /home/trainonl/public_html/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters(NULL, Array) 
    2 /home/trainonl/public_html/wp-includes/plugin.php(470): WP_Hook->do_action(Array) 
    3 /home/trainonl/public_html/wp-admin/edit-form-blocks.php(252): do_action('enqueue_block_e...') 
    4 /home/trainonl/public_html/wp-admin/post.php(187): require('/home/trainonl/...') 
    5 
    thrown in /home/trainonl/public_html/wp-content/plugins/sensei-certificates/classes/class-woothemes-sensei-certificates.php on line 1470
    [15-Nov-2021 22:04:41 UTC] The WC_Cart::get_cart_url function is deprecated since version 2.5. Replace with wc_get_cart_url.

    When I disable the certificate plugin, all works fine.

    Please help 🙂

Viewing 1 replies (of 1 total)
  • Hi @davehep !

    I wasn’t able to reproduce the error with the latest versions of Sensei LMS, WordPress, and Certificates.

    Have you tried figuring out if Certificates are in conflict with some other plugin? You can do this by disabling everything except the Sensei LMS. If you then enable the certificates, does the error show up again?

Viewing 1 replies (of 1 total)

The topic ‘Certificate plugin generating errors’ is closed to new replies.