Problem generation Process: The project was originally using the Ueditor editor, because the JS code has the use of parentnode to get HTML nodes, ie browser kernel does not support parentnode, there will be two times loaded Rich text editor does not render the problem, So change the editor to Kindeditor, where uploading the file has a problem:
After troubleshooting, the constructor in json.php is the same as the class name, and it is found that after the PHP version is updated, the constructor name with the same class name is not supported, and the constructor with the same name as the class name is modified in three places as __construct:
133 Line: Services_json method, instead of __construct783, 797 lines: Services_json_error method, instead of __construct
Successfully solve the problem;
Kindeditor Vice Text editor upload function PHP language error problem