icecoder/ICEcoder

Uncaught TypeError: Return value of ICEcoder\\System::createDirIfNotExists() must be an instance of ICEcoder\\void

Closed this issue · 4 comments

Fatal error
Using php 7.0.30 in ubuntu

This issue was raised by someone else, they resolved it by upgrading PHP from 7.0 to 7.1:

#915

Will look into fixing this error but the error may be resolved if you can upgrade to PHP 7.1.

i imagined that i should upgrade php, in my case that was not an option with other applications running together on the same server. I guess that requirements should be updated, thanks for clarification

No problems. However, this issue will be fixed (so it works on 7.0, I've done something that requires 7.1). Will fix rather than up requirements. 👍

Found the issue was using the void return type, which isn't introduced in PHP till 7.1.

Fixed in 0b75351