Title: PHP7 support
Last modified: December 15, 2016

---

# PHP7 support

 *  [wesley@intermation.nl](https://wordpress.org/support/users/wesleyintermationnl/)
 * (@wesleyintermationnl)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/php7-support-19/)
 * Hello,
 * Using the PHP Compatibility Checker to check my website’s compatibility for a
   PHP7 upgrade I found that this plugin is not fully compatible yet with PHP7. 
   The problem seems to be as follows.
 * FILE: /home/ubuntu/workspace/wp-content/plugins/a3-lazy-load/admin/admin-interface.
   php
    ————————————————————————————– FOUND 2 ERRORS AFFECTING 2 LINES ————————————————————————————–
   396 | ERROR | Global with variable variables is not allowed since PHP 7.0 435
   | ERROR | Global with variable variables is not allowed since PHP 7.0 ————————————————————————————–
 * It would be great if this could be addressed in a future release.
 * With kind regards,
    Wesley

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

 *  [natalisilverio](https://wordpress.org/support/users/natalisilverio/)
 * (@natalisilverio)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/php7-support-19/#post-8563331)
 * Hello
    I also have the same error. Is php 7 support available in the next version?
 *  [Jasonian](https://wordpress.org/support/users/jasonian/)
 * (@jasonian)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/php7-support-19/#post-8568634)
 * It has also not been updated (since 4.5.4, latest WP Core release is 4.7). Is
   this plugin still being supported?
 *  [Jasonian](https://wordpress.org/support/users/jasonian/)
 * (@jasonian)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/php7-support-19/#post-8568779)
 * In case you’d like to roll your own solution,
 * open up the effected file. In this case, `/wp-content/plugins/a3-lazy-load/admin/
   admin-interface.php`
 * Replace the code on line 396 from `global $$option_name;` with `global ${$option_name};`.
 * Then go to line 435, and replace `global $$id_attribute;` with `global ${$id_attribute};`
 * For an explanation, see [php7 reverse compatibility documentation](http://php.net/manual/en/migration70.incompatible.php#migration70.incompatible.variable-handling.global)
 *  [Jason Yingling](https://wordpress.org/support/users/yingling017/)
 * (@yingling017)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/php7-support-19/#post-8582860)
 * Ha I just came to post this exact same info from PHP Compatibility Checker. Thanks
   for the fix [@jasonian](https://wordpress.org/support/users/jasonian/).
 * I’d also add that I upgraded to PHP 7 despite the error warning and the front
   end of my site worked, but I kept hitting 500 internal server errors and memory
   limit errors when navigating through the wp-admin. Deactivating the plugin seems
   to have fixed that though.
    -  This reply was modified 9 years, 5 months ago by [Jason Yingling](https://wordpress.org/support/users/yingling017/).
      Reason: adding info

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

The topic ‘PHP7 support’ is closed to new replies.

 * ![](https://ps.w.org/a3-lazy-load/assets/icon.svg?rev=1049979)
 * [a3 Lazy Load](https://wordpress.org/plugins/a3-lazy-load/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/a3-lazy-load/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/a3-lazy-load/)
 * [Active Topics](https://wordpress.org/support/plugin/a3-lazy-load/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/a3-lazy-load/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/a3-lazy-load/reviews/)

## Tags

 * [PHP7](https://wordpress.org/support/topic-tag/php7/)

 * 4 replies
 * 4 participants
 * Last reply from: [Jason Yingling](https://wordpress.org/support/users/yingling017/)
 * Last activity: [9 years, 5 months ago](https://wordpress.org/support/topic/php7-support-19/#post-8582860)
 * Status: not resolved