Paul O'Kane
asked on
PHP Fatal error on Windows server.
Hi everyone,
We've recently developed a wordpress site to be used on an IIS server. But parts of the site doesn't seem to be working.
Within the PHP logs we have foudn these errors:
[12-Feb-2018 15:14:31 UTC] PHP Fatal error: Call to undefined function trailingslashit() in D:\IIS\Intranet\wp-include s\plugin.p hp on line 721
[12-Feb-2018 15:14:31 UTC] PHP Fatal error: Call to undefined function trailingslashit() in D:\IIS\Intranet\wp-include s\plugin.p hp on line 721
Any suggestions on what I could do?
line 721 in plugin.php file is:
720: function plugin_dir_path( $file ) {
721: return trailingslashit( dirname( $file ) );
}
Thanks,
Paul
We've recently developed a wordpress site to be used on an IIS server. But parts of the site doesn't seem to be working.
Within the PHP logs we have foudn these errors:
[12-Feb-2018 15:14:31 UTC] PHP Fatal error: Call to undefined function trailingslashit() in D:\IIS\Intranet\wp-include
[12-Feb-2018 15:14:31 UTC] PHP Fatal error: Call to undefined function trailingslashit() in D:\IIS\Intranet\wp-include
Any suggestions on what I could do?
line 721 in plugin.php file is:
720: function plugin_dir_path( $file ) {
721: return trailingslashit( dirname( $file ) );
}
Thanks,
Paul
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I have recommended this question be closed as follows:
Accept: gr8gonzo (https:#a42466444)
If you feel this question should be closed differently, post an objection and the moderators will review all objections and close it as they feel fit. If no one objects, this question will be closed automatically the way described above.
Pber
Experts-Exchange Cleanup Volunteer