I have several installations of EE 5.3.2 on Dreamhost, and only one of them is giving me this issue. I can post new entries to any channel, but when I try to edit any entry from the Entry Manager, I get this error…
================================================================ Warning
call_user_func_array() expects parameter 1 to be a valid callback, class ‘Rte_ext’ does not have a method ‘publish_form_entry_data’
ee/legacy/libraries/Extensions.php, line 222
Severity: E_WARNING
Fatal error: Uncaught TypeError: Argument 1 passed to EllisLab\ExpressionEngine\Model\Content\ContentModel::set() must be of the type array, null given, called in /home/username/mydomain.com/system/ee/EllisLab/ExpressionEngine/Controller/Publish/Edit.php on line 442 and defined in /home/username/mydomain.com/system/ee/EllisLab/ExpressionEngine/Model/Content/ContentModel.php:188 Stack trace: #0 /home/username/mydomain.com/system/ee/EllisLab/ExpressionEngine/Controller/Publish/Edit.php(442): EllisLab\ExpressionEngine\Model\Content\ContentModel->set(NULL) #1 [internal function]: EllisLab\ExpressionEngine\Controller\Publish\Edit->entry(‘37’) #2 /home/username/mydomain.com/system/ee/EllisLab/ExpressionEngine/Core/Core.php(241): call_user_func_array(Array, Array) #3 /home/username/mydomain.com/system/ee/EllisLab/ExpressionEngine/Core/Core.php(110): EllisLab\ExpressionEngine\Core\Core->runController(Array) #4 /home/username/mydomain.com/system/ee/Ellis in /home/username/mydomain.com/system/ee/EllisLab/ExpressionEngine/Model/Content/ContentModel.php on line 188
================================================================ The site is running PHP 7.3 FastCGI, as is one other site, but the other site is behaving normally. I’ve noticed an abnormality in the Entry Manager link that takes me to the error. When I hover over a link in the Entry Manager, the URL for the link is formatted like this:
https://mydomain.com/admin.php?/cp/publish/edit/entry/37&S=1f9f932bed0ae1aa9fd22578e70debce
whereas a similar link on the site that is working would look like this:
https://mydomain.com/admin.php?/cp/publish/edit/entry/37
If I try to truncate the URL to format it like the working site, I’m taken to the login screen, and upon logging in, I get the error message and the URL is right back to the longer format.
Any ideas on what’s causing this or how to fix it?
Hrm- seems like it’s related to an extension. You might try going to ‘Utilities’ and debugging extensions. Like- disable all of them and see if you can save. If so, enable them until you identify the culprit.
I don’t think the URLs are related. I think some of the sites require session ids and some just cookies. That’s why when you remove that long hash, it logs you out. You can test by going to ‘Settings- Security and Privacy’ and setting the cp session to cookies only. But I’ll be surprised if that’s it.
Thank you Robin. I only had one extension. It was Rich Text Editor, but it was version 1.0, and updating it to 1.0.1 fixed the issue. Thank you so much.
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.