• Resolved hollosipeter

    (@hollosipeter)


    Hello!
    Two weeks I updated my PHP from 7.4 to 8.0 and the same day updated the wordpess version from 5.8 to 6.1 and from that point wp-debug sign some problem in the back-end (an error line). And the main problem, that I can’t use the plugin, because if I’m going to Wocoommerce, try to add something to the basket, the checkout screen just loading infinity times and nothing happening.
    Two weeks I found a website for this plugin and two times I tried to make an error fault, I get back the confirmation but nothing happened.

    Please help.
    Thanks,
    Peter

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter hollosipeter

    (@hollosipeter)

    +INFO: I checked with check conflicts. None of my installed plugin conflicts between user login history. So the problem indicated by the PHP version change from 7.4 to 8.0 and/or the WordPress version change from 5.8 to 6.1

    Plugin Author Faiyaz Alam

    (@faiyazalam)

    @hollosipeter we have replied on your mail for step by step description to reproduce the issue.

    Thread Starter hollosipeter

    (@hollosipeter)

    We discuss it by e-mail, the solution helped, thank you, this was the problem:

    Please change the parameter in the file: /wp-content/plugins/user-login-history/inc/common/helpers/class-db.php, this should work with php 8.0.

    From:
    public static function delete_rows_by_table_and_ids( $table = ”, $ids ){
    //…..
    }

    To:
    public static function delete_rows_by_table_and_ids( string $table = ”, array $ids=[] ){
    //…..
    }

    Hi,
    Thanks for the feedback. It worked great! ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Plugin error 2.1.0’ is closed to new replies.