A Warning for phpwordpress: call_user_func_array () expectsparameter1tobeavalidcallback, function 'importfile' notfoundo php wordpress
Warning: call_user_func_array () expects parameter 1 to be a valid callback, function 'portfile' not found or invalid function name in/home/wwwroot/queues on line 395
How to remove this warning, or how to set it to prevent it from being displayed.
------ Solution --------------------
What have you changed? Locate whether the first parameter 'importfile' in the 395 row call_user_func_array () function is written incorrectly (case sensitive ).
------ Solution --------------------
Invalid return value importFile function not found
------ Solution --------------------
Discussion
Solution: after php is upgraded to 5.4, the solution is to find display_errors = Off in the php configuration file php. ini (change on to Off and then OK)
------ Solution --------------------
Discussion
Indeed:
In wordpress, you can use @ ini_set ('display _ errors ', 'off') to disable error output.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service