Title: PHP7 problem
Last modified: September 1, 2016

---

# PHP7 problem

 *  [Ryan Skov](https://wordpress.org/support/users/docryan/)
 * (@docryan)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/php7-problem-1/)
 * Hi
 * Just trying out the plugin and found a problem with PHP7.
    In ‘awesome-surveys/
   includes/PFBC/Base.php’ there is a problem on line 28.
 * The defaults in call of dynamic methods has changed from PHP5 to PHP7.
    The the
   line should be changed from: `$this->$method_reference["set" . $property]($value);`
   To: `$this->{$method_reference["set" . $property]}($value);`
 * I have not testet this on PHP5. My host is only PHP7, but it should work in theory.
 * [https://wordpress.org/plugins/awesome-surveys/](https://wordpress.org/plugins/awesome-surveys/)

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

 * ![](https://s.w.org/plugins/geopattern-icon/awesome-surveys_f9f9f9.svg)
 * [Awesome Surveys](https://wordpress.org/plugins/awesome-surveys/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/awesome-surveys/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/awesome-surveys/)
 * [Active Topics](https://wordpress.org/support/plugin/awesome-surveys/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/awesome-surveys/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/awesome-surveys/reviews/)

## Tags

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

 * 0 replies
 * 1 participant
 * Last reply from: [Ryan Skov](https://wordpress.org/support/users/docryan/)
 * Last activity: [9 years, 9 months ago](https://wordpress.org/support/topic/php7-problem-1/)
 * Status: not resolved