modxcms / fred

The friendly front-end editor for visual, drag-and-drop content building in MODX CMS
https://fred.modx.com
MIT License
57 stars 25 forks source link

PHP warning: Undefined array key "modifyPermissions" #491

Closed lottaar closed 5 months ago

lottaar commented 9 months ago

Every time a page with a Fred template is loaded the following error is generated twice in the MODX error log:

[2023-11-08 07:47:25] (ERROR @ /var/www/vhosts/mydomain.com/httpdocs/core/cache/includes/elements/modx/revolution/modplugin/13.include.cache.php : 205) PHP warning: Undefined array key "modifyPermissions"

MODX 3.0.4-pl Fred 2.1.4-pl PHP 8.2.12

bwente commented 6 months ago

Did you install any other Fred components?

Ace? TinyMCE? FontAwesome?

lottaar commented 6 months ago

Yes, all three of them.

bwente commented 6 months ago

Hmm. I did the same and I am also getting those errors. I came here to searching for an answer as well.

lottaar commented 6 months ago

There seems to be quite a few issues with Fred and MODX 3 unfortunately. I think Fred is a pretty vital extra for MODX – it's awesome when it works – so let's hope someone picks it up.

matdave commented 5 months ago

These are warnings and not errors. I've got a fix pushed up for the plugin, though.