Error with `spl_autoload_register()`
-
spl_autoload_register(): Argument #2 ($do_throw) has been ignored, spl_autoload_register() will always throw
To fix, change
includes/class-main.php:38
from
spl_autoload_register( [self::class, 'autoload'], false );
to
spl_autoload_register( [self::class, 'autoload'] );
- The topic ‘Error with `spl_autoload_register()`’ is closed to new replies.