Hi,
When I upgraded to PHP version, private messages do not open. I get this error.
I ran the following code. it did not improve.
An exception occurred: [TypeError] Argument 2 passed to XF\App::getCustomFieldsForEdit() must be an instance of XF\CustomField\Set, string given in src/XF/App.php on line 1618
When I upgraded to PHP version, private messages do not open. I get this error.
I ran the following code. it did not improve.
An exception occurred: [TypeError] Argument 2 passed to XF\App::getCustomFieldsForEdit() must be an instance of XF\CustomField\Set, string given in src/XF/App.php on line 1618
- XF\App->getCustomFieldsForEdit()
- call_user_func_array() in src/XF/Template/Templater.php at line 940
- XF\Template\Templater->method() in internal_data/code_cache/templates/l3/s31/public/custom_fields_macros.php at line 204
- XF\Template\Templater->{closure}() in src/XF/Template/Templater.php at line 663
- XF\Template\Templater->callMacro() in internal_data/code_cache/templates/l3/s31/public/quick_reply_macros.php at line 94
- XF\Template\Templater->{closure}() in src/XF/Template/Templater.php at line 663
- XF\Template\Templater->callMacro() in internal_data/code_cache/templates/l3/s31/public/conversation_view.php at line 286
- XF\Template\Templater->{closure}() in src/XF/Template/Templater.php at line 1250
- XF\Template\Templater->renderTemplate() in src/XF/Template/Template.php at line 24
- XF\Template\Template->render() in src/XF/Mvc/Renderer/Html.php at line 48
- XF\Mvc\Renderer\Html->renderView() in src/XF/Mvc/Dispatcher.php at line 332
- XF\Mvc\Dispatcher->renderView() in src/XF/Mvc/Dispatcher.php at line 303
- XF\Mvc\Dispatcher->render() in src/XF/Mvc/Dispatcher.php at line 44
- XF\Mvc\Dispatcher->run() in src/XF/App.php at line 1931
- XF\App->run() in src/XF.php at line 329
- XF::runApp() in index.php at line 13