Fatal error if using non-standard wp-content folder
-
Hello,
I ran into a problem with a client’s site when I toggled off the option for display the modal on mobile devices. The WP installation uses a non-standard folder structure. The error occurred because of line 68 in modal-dialog.php:
require_once( ABSPATH . '/wp-content/plugins/modal-dialog/Mobile_Detect.php' );There is no wp-content folder in the client’s website, so this caused a fatal error and I had to remove the plugin folder to get the site working again.
Will you please update this line to not assume there is a wp-content folder within ABSPATH?
Thanks,
John
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Fatal error if using non-standard wp-content folder’ is closed to new replies.