• Resolved beka47

    (@beka47)


    Calling the defaut page of the plugin (tools.php?page=wp-database-backup) I get the following PHP-notice:

    Notice: Array to string conversion in /home/.../wp-content/plugins/wp-database-backup/includes/admin/admin_header_notification.php on line 19

    Maybe just change in admin_header_notification.php (line 19ss):

    if (strpos((string) $notifier_data, '<notifier>') === false) {
        $notifier_data = '<?xml version="1.0" encoding="UTF-8"?><notifier><latest>1.0</latest><changelog></changelog>';
    }

    to:

    if ( !in_array('<notifier>', $notifier_data) ) {
        $notifier_data[] = '<?xml version="1.0" encoding="UTF-8"?><notifier><latest>1.0</latest><changelog></changelog>';
    }

    or $notifier_data = '<?xml ...'

    WP Database Backup Version: 5.5.1
    WP-Version: 5.4.1

    • This topic was modified 4 years, 10 months ago by beka47.
    • This topic was modified 4 years, 10 months ago by beka47.
    • This topic was modified 4 years, 10 months ago by beka47.
    • This topic was modified 4 years, 10 months ago by beka47.
Viewing 5 replies - 1 through 5 (of 5 total)
  • same PHP-notice here.. on ngnix serveur..WP-version 5.4.1
    Info serveur : nginx/1.14.2
    Version PHP : 7.3.14-1~deb10u1

    Thread Starter beka47

    (@beka47)

    Sorry, forgot:
    PHP-Version: 7.4.6 (Linux, Shared Hosting)

    Hi,

    we had fixed issue.

    Can you please install latest version and check.

    Please let us know in case any issue.

    Thanks.

    Thread Starter beka47

    (@beka47)

    WP Database Backup works perfectly with the new 5.5.3-version
    Thank you!

    Thread Starter beka47

    (@beka47)

    … with PHP-Version: 7.4.6 (Linux, Shared Hosting) / latest WP 5.5
    No notices anymore. Thanx

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Array to string conversion’ is closed to new replies.