Error: Call to undefined function get_plugin_data()
-
Hi,
Since updating the plugin I get an error my website (and admin) goes blanc.
I commented line 38 (‘version’ => get_plugin_data( __FILE__ )[‘Version’],) and the error dissapeared.
Fatal error: Uncaught Error: Call to undefined function get_plugin_data() in /data/sites/web/domainnamecom/subsites/staging.domain.be/site/wp-content/plugins/acf-city-selector/ACF_City_Selector.php:38 Stack trace: #0 /data/sites/web/domainnamecom/subsites/staging.domain.be/site/wp-content/plugins/acf-city-selector/ACF_City_Selector.php(417): ACF_City_Selector->__construct() #1 /data/sites/web/domainnamecom/subsites/staging.domain.be/site/wp-settings.php(428): include_once(‘/data/sites/web…’) #2 /data/sites/web/domainnamecom/subsites/staging.domain.be/site/wp-config.php(101): require_once(‘/data/sites/web…’) #3 /data/sites/web/domainnamecom/subsites/staging.domain.be/site/wp-load.php(50): require_once(‘/data/sites/web…’) #4 /data/sites/web/domainnamecom/subsites/staging.domain.be/site/wp-blog-header.php(13): require_once(‘/data/sites/web…’) #5 /data/sites/web/domainnamecom/subsites/staging.domain.be/index.php(17): require(‘/data/sites/web…’) #6 {main} thrown in /data/sites/web/domainnamecom/subsites/staging.domain.be/site/wp-content/plugins/acf-city-selector/ACF_City_Selector.php on line 38
- The topic ‘Error: Call to undefined function get_plugin_data()’ is closed to new replies.