Title: PHP issue
Last modified: December 24, 2016

---

# PHP issue

 *  [mathiaspriebe](https://wordpress.org/support/users/mathiaspriebe/)
 * (@mathiaspriebe)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/php-issue-3/)
 * Hello,
 * are there any known issues with Popups plugin and PHP 7.1? I get this error message
   on front-end: “Warning: Cannot assign an empty string to a string offset in ***/
   wp-includes/class.wp-scripts.php on line 447”
 * I recently updated to WordPress 4.7 and PHP 7.1. To find the reason I deactivated
   all plugins. While re-activating them one by one I found out that the failure
   only happens if Popups is activated even if the error refers to a WordPress core
   file.
 * Thank you in advance.
    -  This topic was modified 9 years, 5 months ago by [mathiaspriebe](https://wordpress.org/support/users/mathiaspriebe/).

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

 *  Plugin Author [Damian](https://wordpress.org/support/users/timersys/)
 * (@timersys)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/php-issue-3/#post-8594856)
 * I can’t tell because I tried up to 7.0.1. But if you get the backtrace of that
   warning it should tell where there error is coming from..
 *  [dun_edwards](https://wordpress.org/support/users/dun_edwards/)
 * (@dun_edwards)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/php-issue-3/#post-8738539)
 * I have the same issue on my local machine running PHP 7.1.1 and WP 4.7.2. Here
   is the stack trace:
    WP_Scripts->localize() wp-includes/functions.wp-scripts.
   php:192 wp_localize_script() wp-content/plugins/popups/public/class-social-popup.
   php:482 SocialPopup->enqueue_social_shortcodes() wp-content/plugins/popups/public/
   class-social-popup.php:439 SocialPopup->enqueue_scripts() wp-includes/class-wp-
   hook.php:298 do_action(‘wp_enqueue_scripts’) wp-includes/script-loader.php:1221
   wp_enqueue_scripts() wp-includes/class-wp-hook.php:298 do_action(‘wp_head’) wp-
   includes/general-template.php:2574 wp_head() wp-content/themes/lazycatstore/header.
   php:17 load_template(‘~/wp-content/themes/lazycatstore/header.php’) wp-includes/
   template.php:643 locate_template() wp-includes/general-template.php:45 get_header()
   wp-content/themes/lazycatstore/home.php:15

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

The topic ‘PHP issue’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/popups_efeef0.svg)
 * [Popups - WordPress Popup](https://wordpress.org/plugins/popups/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/popups/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/popups/)
 * [Active Topics](https://wordpress.org/support/plugin/popups/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/popups/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/popups/reviews/)

## Tags

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

 * 2 replies
 * 3 participants
 * Last reply from: [dun_edwards](https://wordpress.org/support/users/dun_edwards/)
 * Last activity: [9 years, 3 months ago](https://wordpress.org/support/topic/php-issue-3/#post-8738539)
 * Status: not resolved