Plugin causes a PHP warning
-
The function
get_upgrade_url()instaff-directory-plugin.settings.page.class.phphas this line:$file_data = get_file_data('/some/real/path/to/your/plugin', array('Version'), 'plugin');The fake path in the function call causes three warnings from PHP. The
$file_datavariable is not used, so please remove the line so that the warnings go away.
The topic ‘Plugin causes a PHP warning’ is closed to new replies.