Link to home
Start Free TrialLog in
Avatar of Paul O'Kane
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-includes\plugin.php on line 721
[12-Feb-2018 15:14:31 UTC] PHP Fatal error:  Call to undefined function trailingslashit() in D:\IIS\Intranet\wp-includes\plugin.php 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
ASKER CERTIFIED SOLUTION
Avatar of gr8gonzo
gr8gonzo
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
No comment has been added to this question in more than 21 days, so it is now classified as abandoned.

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