Closed ziming closed 1 year ago
Hello, you likely have a set_error_handler
that does not respect the error_reporting
(and so @
operator) or a library doing that. The handler must have:
if (!(error_reporting() & $errno)) {
return false;
}
at the beginning of the function.
Ah okay thanks!
I got this PHP Warning: Cannot bind an instance to a static closure in /vendor/nesbot/carbon/src/Carbon/Traits/Date.php on line 2542
My code that trigger it is:
$schedule->isOpen(Carbon::now());
Then I got
So it does work but warning keep happen