We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Can't Edit Entries - Fatal Error

How Do I?

NeilC's avatar
NeilC
24 posts
4 years ago
NeilC's avatar NeilC

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?

       
Robin Sowell's avatar
Robin Sowell
13,158 posts
4 years ago
Robin Sowell's avatar Robin Sowell

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.

πŸ‘ 1
       
NeilC's avatar
NeilC
24 posts
4 years ago
NeilC's avatar NeilC

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.

πŸ‘ 1
       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.