• Resolved rftbdev

    (@rftbdev)


    PHP 8.0.28

    Latest iThemes Security: Version 8.1.5

    /wp-content/plugins/better-wp-security/core/modules/backup/cards/class-itsec-dashboard-card-database-backup.php?on line?81

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Shalom Taiwo

    (@shalomt)

    Hi @rftbdev,

    I’ll recommend?reinstalling?the iThemes Security plugin to see if this helps.

    If this does not resolve the issue, we’ll like you to please proceed with a?conflict?test. But, first, create a recent backup in case you lose any settings during the trial and have to restore to a previous working state.

    The following can assist you during this?test:?https://help.ithemes.com/hc/en-us/articles/115003073433-Checking-for-a-Conflict-

    Please let me know if it helps and if you have further questions.

    Best regards,
    Shalom

    Thread Starter rftbdev

    (@rftbdev)

    For now, I have disabled the database card on the iThemes dashboard. Thank you for your recommendation. We will reinstall the plugin and then perform conflict tests as needed.

    Hi @rftbdev,

    You can ignore this post in case reinstalling the plugin and/or checking for conflicts helped you find a solution.

    80	$files = scandir( $dir, SCANDIR_SORT_DESCENDING );
    81	$files = array_unique( $files );

    According to the scandir() page of the PHP manual:

    Returns an?array?of filenames on success, or?false?on failure.

    So it looks like scandir() is returning false in your env … and the plugin code, as is, does not handle it. It always assumes an array() is returned. Are there any (scandir() related) warnings in the error log ?

    Plugin Support Shalom Taiwo

    (@shalomt)

    Hi there,
    I hope the information provided helped resolve your issues. I will mark this post as resolved. If you still need some assistance, please feel free to open a new support topic, and we would be happy to assist.
    Thank you!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘FATAL ERROR: Uncaught TypeError: array_unique():’ is closed to new replies.