Default value for parameters with a class type can only be NULL
Fix: Be sure you are using the built-in type you think you are using, for example, for an integer you must use int
.
[proxy_fcgi:error] [pid 2055] [client 172.18.0.6:39418] AH01071: Got error ‘PHP message: PHP Fatal error: Default value for parameters with a class type can only be NULL in /var/www/html/public_html/ etc.
Today in fatal typos:
WOW ‘Default value for parameters with a class type can only be NULL’ is an obtuse error message for accidentally using ‘integer’ instead of ‘int’ to cast the parameter!"