Jump to content

[Bug 4.7 & 8.1] PHP Fatal error: Type of IPS\File\_Exception::$file must be string

Featured Replies

Posted

 PHP Fatal error:  Type of IPS\File\_Exception::$file must be string (as in class Exception)

Getting lots of those. Opening the file in PhpStorm gives more details

57126a52215732384c1d24a0bdb9778a.png

Solved by Stuart Silvester

Go to solution

happens in php 8.0.x too, i just ended up deleting the property and its use in the constructor, as it doesn't appear to be used any where else in the file.

  • 3 weeks later...
  • Solution

Thanks! This issue should be fixed in an upcoming release.

Recently Browsing 0

  • No registered users viewing this page.