After update from v2.5.0 to v2.5.1 I can't add or edit resources.
Update from v2.5.0 to v2.5.1 and then try to add or edit resources.
Unable to add or edit resources.
AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Error: Call to a member function get() on array in /var/www/vhosts/example.com/example.com/manager/controllers/default/resource/resource.class.php:152\nStack trace:\n#0 /var/www/vhosts/example.com/example.com/core/model/modx/modmanagercontroller.class.php(158): ResourceManagerController->firePreRenderEvents()\n#1 /var/www/vhosts/example.com/example.com/core/model/modx/modmanagerresponse.class.php(74): modManagerController->render()\n#2 /var/www/vhosts/example.com/example.com/core/model/modx/modmanagerrequest.class.php(180): modManagerResponse->outputContent(Array)\n#3 /var/www/vhosts/example.com/example.com/core/model/modx/modmanagerrequest.class.php(128): modManagerRequest->prepareResponse()\n#4 /var/www/vhosts/example.com/example.com/manager/index.php(62): modManagerRequest->handleRequest()\n#5 {main}\n thrown in /var/www/vhosts/example.com/example.com/manager/controllers/default/resource/resource.class.php on line 152\n'
To be able to add and edit resources.
By chance, do you have TinyMCE installed?
Yes, it was TinyMCE - thanks :) Deinstalled - all working again.
There should be a newer TinyMCE available, and TinyMCE Wrapper that doesn't have this problem. An update should be released for the original Tiny, too, and tracking down the source of the breaking change on this as well.
The fix for TinyMCE can be found here: https://github.com/modxcms/TinyMCE/pull/20
MODX 2.6.0 also has a patch that prevents this error from another angle, so as long as you keep your extras and core up to date you'll be fine.
Most helpful comment
The fix for TinyMCE can be found here: https://github.com/modxcms/TinyMCE/pull/20