Plugin causes a PHP warning
-
The function
get_upgrade_url()
instaff-directory-plugin.settings.page.class.php
has 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_data
variable 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.