• Hi,

    I get following error every time I have a blocked page alert:

    Een fout van het type E_ERROR werd veroorzaakt op regelnummer 1084 van het bestand /public_html/wp-content/plugins/wp-crowdfunding/includes/woocommerce/Woocommerce.php. Foutmelding: Uncaught Error: Call to a member function empty_cart() on null in /public_html/wp-content/plugins/wp-crowdfunding/includes/woocommerce/Woocommerce.php:1084
    Stack trace:
    #0 /public_html/wp-includes/class-wp-hook.php(288): WPCF\woocommerce\Woocommerce->wc_empty_cart(”)
    #1 /public_html/wp-includes/class-wp-hook.php(312): WP_Hook->apply_filters(false, Array)
    #2 /public_html/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
    #3 /public_html/wp-includes/pluggable.php(581): do_action(‘wp_logout’)
    #4 /public_html/wp-content/plugins/better-wp-security/core/lockout.php(801): wp_logout()
    #5 /public_html/wp-content/plugins/better-wp-security/core/lockout.php(150): ITSEC_Lockout->execute_lock(Object(iThemesSecurity\Lib\Lockout\Execute_Lock\Host_Context))
    #6 /public_html/wp-includes/class-wp-hook.php(288): ITSEC_Lockout->check_for_host_lockouts(”)
    #7 /public_html/wp-includes/class-wp-

    any idea or advise how to handle this?
    thanks!

    PS I removed the adres for security reasons

Viewing 1 replies (of 1 total)
  • Waarschijnlijk een bug. Probeer de volgende regel (#800) in het better-wp-security/core/lockout.php bestand eens aan te passen:

    if ( is_object( $current_user ) && isset( $current_user->ID ) ) {

    naar:

    if ( is_object( $current_user ) && ! empty( $current_user->ID ) ) {

    To prevent any confusion, I’m not iThemes.

    (This post set my post count to #500 on ww.wp.xz.cn forums !)

Viewing 1 replies (of 1 total)

The topic ‘Uncaught error’ is closed to new replies.