Title: PHP 7.1 Warning: Illegal string offset&#8230;
Last modified: February 16, 2017

---

# PHP 7.1 Warning: Illegal string offset…

 *  Resolved [nademorda](https://wordpress.org/support/users/nademorda/)
 * (@nademorda)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/php-7-1-warning-illegal-string-offset/)
 * WP 4.7.2
    Ad Inserter 2.1.0 PHP 7.1.1
 * In the process of moving to PHP 7.1 but found these warnings on my local dev 
   server.
 * Warning: Illegal string offset ‘REMOTE_DEBUGGING’ in /Applications/XAMPP/xamppfiles/
   htdocs/CROSS/public_html/wp-content/plugins/ad-inserter/ad-inserter.php on line
   1912
 * Warning: Illegal string offset ‘REMOTE_DEBUGGING’ in /Applications/XAMPP/xamppfiles/
   htdocs/CROSS/public_html/wp-content/plugins/ad-inserter/ad-inserter.php on line
   1915
 * However Plugin appears to be ok on PHP 7.0.9.
 * Realise it may be early days for PHP 7.1.1 but wondered if you were aware of 
   any issues?
 * Thanks

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

 *  Thread Starter [nademorda](https://wordpress.org/support/users/nademorda/)
 * (@nademorda)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/php-7-1-warning-illegal-string-offset/#post-8811404)
 * Just to add these warnings display at the top of the page and no other page content
   is displayed to the user.
 * However, when logged in to WP the errors still show at the top again but the 
   rest of the page is displayed as normal.
 *  Plugin Author [Spacetime](https://wordpress.org/support/users/spacetime/)
 * (@spacetime)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/php-7-1-warning-illegal-string-offset/#post-8813285)
 * Hello,
 * thanks for the information.
    Will check this.
 *  Thread Starter [nademorda](https://wordpress.org/support/users/nademorda/)
 * (@nademorda)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/php-7-1-warning-illegal-string-offset/#post-8813381)
 * Hi Igor
 * Appears to do this on the initial install of ad-inserter for PHP 7.1
 * I found if after install you continue to the plugin settings -> Ad insert Settings-
   > Debugging
    Then check either of the check boxes and save settings. The warnings
   then disappear. You can change the two checkboxes back to whatever you need –
   saving the settings once seems to clear the warnings.
 * Cheers
 *  Plugin Author [Spacetime](https://wordpress.org/support/users/spacetime/)
 * (@spacetime)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/php-7-1-warning-illegal-string-offset/#post-8819551)
 * This will be fixed in the next version.
 * Thanks for bug report.

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

The topic ‘PHP 7.1 Warning: Illegal string offset…’ is closed to new replies.

 * ![](https://ps.w.org/ad-inserter/assets/icon-256x256.jpg?rev=1502039)
 * [Ad Inserter - Ad Manager & AdSense Ads](https://wordpress.org/plugins/ad-inserter/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ad-inserter/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ad-inserter/)
 * [Active Topics](https://wordpress.org/support/plugin/ad-inserter/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ad-inserter/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ad-inserter/reviews/)

## Tags

 * [php-7](https://wordpress.org/support/topic-tag/php-7/)

 * 4 replies
 * 2 participants
 * Last reply from: [Spacetime](https://wordpress.org/support/users/spacetime/)
 * Last activity: [9 years, 3 months ago](https://wordpress.org/support/topic/php-7-1-warning-illegal-string-offset/#post-8819551)
 * Status: resolved