Failed opening 'Moodle/local/o365/version.php' for inclusion

Failed opening 'Moodle/local/o365/version.php' for inclusion

by Heather P -
Number of replies: 0

How do I fix this php warning as I think it might be contributing to the lock on my Moodle that thinks there is an upgrade in progress.

It occurred straight after an upgrade to Moodle 3.10 which included updating the plugin   local/o365 to the latest version.

PHP Warning:  include(): Failed opening 'c:\xxxx\xxxx\Moodle/local/o365/version.php' for inclusion (include_path='c:\xxxx\xxxxx\Moodle/lib/pear;.;C:\php\pear') in c:\xxxx\xxxx\Moodle\lib\classes\component.php on line 1143

I'm on Windows servers and using MS SQL and php 7.4

I've had a look at the php ini file to try to straighten out the mixture of forward and back slashes in the file path in case that made a difference. We were using the default path and now I have put in

include_path = ".;C:\php\pear"

I've restarted IIS but I don't think it has made any difference.

I really need to release the lock, but don't know how. This maybe a red herring, but it doesn't look good in an error log having errors that I should fix.

Thank you

Heather

Average of ratings: -