Fatal error after upgrading to last version
-
After updating three sites yesterday that use this plugin, the following error appeared in all of them when trying to login.
Until I could stop to see the problem, my client was 12 hours without being able to log in … be careful.
Look at the problem and what an easy solution it has.
require(PERSONALIZE_LOGIN_PLUGIN_DIRtemplates/login_form.php): failed to open stream
PHP Fatal error: require(): Failed opening required ‘PERSONALIZE_LOGIN_PLUGIN_PLUGIN_DIRtemplates/login_form.php’.
The solution I have implemented in the get_template_html function:
if( !defined( 'PERSONALIZE_LOGIN_PLUGIN_PLUGIN_DIR' ) ) ) define( 'PERSONALIZE_LOGIN_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
Please take care next time ??
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Fatal error after upgrading to last version’ is closed to new replies.