Skip to content
This repository has been archived by the owner on Jan 21, 2024. It is now read-only.

call_user_func_array() for 404 handling expect array but gets string #1

Open
davidxia opened this issue May 11, 2012 · 0 comments
Open

Comments

@davidxia
Copy link

Line 135: call_user_func_array() expects parameter 2 to be array, string given by $_SERVER['REQUEST_METHOD'].

My workaround:

call_user_func_array('r404' , array($_SERVER['REQUEST_METHOD']));
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant