Title: Array to string conversion
Last modified: May 12, 2020

---

# Array to string conversion

 *  Resolved [beka47](https://wordpress.org/support/users/beka47/)
 * (@beka47)
 * [6 years ago](https://wordpress.org/support/topic/array-to-string-conversion-11/)
 * 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 6 years ago by [beka47](https://wordpress.org/support/users/beka47/).
    -  This topic was modified 6 years ago by [beka47](https://wordpress.org/support/users/beka47/).
    -  This topic was modified 6 years ago by [beka47](https://wordpress.org/support/users/beka47/).
    -  This topic was modified 6 years ago by [beka47](https://wordpress.org/support/users/beka47/).

Viewing 5 replies - 1 through 5 (of 5 total)

 *  [inc-jf](https://wordpress.org/support/users/incjf/)
 * (@incjf)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/array-to-string-conversion-11/#post-12909604)
 * 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](https://wordpress.org/support/users/beka47/)
 * (@beka47)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/array-to-string-conversion-11/#post-12909721)
 * Sorry, forgot:
    PHP-Version: 7.4.6 (Linux, Shared Hosting)
 *  [Prashant Walke](https://wordpress.org/support/users/walkeprashant/)
 * (@walkeprashant)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/array-to-string-conversion-11/#post-13264424)
 * 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](https://wordpress.org/support/users/beka47/)
 * (@beka47)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/array-to-string-conversion-11/#post-13265326)
 * WP Database Backup works perfectly with the new 5.5.3-version
    Thank you!
 *  Thread Starter [beka47](https://wordpress.org/support/users/beka47/)
 * (@beka47)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/array-to-string-conversion-11/#post-13265332)
 * … 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.

 * ![](https://ps.w.org/wp-database-backup/assets/icon-256x256.png?rev=2838048)
 * [WP Database Backup - Unlimited Database & Files Backup by Backup for WP](https://wordpress.org/plugins/wp-database-backup/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-database-backup/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-database-backup/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-database-backup/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-database-backup/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-database-backup/reviews/)

 * 5 replies
 * 3 participants
 * Last reply from: [beka47](https://wordpress.org/support/users/beka47/)
 * Last activity: [5 years, 8 months ago](https://wordpress.org/support/topic/array-to-string-conversion-11/#post-13265332)
 * Status: resolved