Open JayHoltslander opened 7 years ago
Using Wordpress 4.7.3 and ACF 4.4.11 on php 7
Wordpress stops loading
Parse error: syntax error, unexpected 'add_action' (T_STRING), expecting function (T_FUNCTION) in /srv/users/redacted/sites/redacted/public/wp-content/plugins/acf-country-field-master/acf-COUNTRY_FIELD-v4.php on line 281
Hi JayHoltslander, I just sent a pull request to fix this problem. The add_actions lines should be in the constructor method in a class context.
Using Wordpress 4.7.3 and ACF 4.4.11 on php 7
Wordpress stops loading