Hi developer team,
we have updated the plugin today and since that time we are not able to save page content after editing.
PHP error log contains new fatal error:
[26-Apr-2024 13:12:59 UTC] PHP Fatal error: Uncaught Error: Call to undefined function PublishPress\Permissions\Collab\defind() in /var/www/www.tul.cz/www/wp-content/plugins/press-permit-core/m
odules/presspermit-collaboration/classes/Permissions/Collab/PostSaveHierarchical.php:94
Stack trace:
#0 /var/www/www.tul.cz/www/wp-content/plugins/press-permit-core/modules/presspermit-collaboration/classes/Permissions/Collab/AdminFilters.php(309): PublishPress\Permissions\Collab\PostSaveHierar
chical::fltPageParent(33)
#1 /var/www/www.tul.cz/www/wp-includes/class-wp-hook.php(308): PublishPress\Permissions\Collab\AdminFilters->fltPageParent(33)
#2 /var/www/www.tul.cz/www/wp-includes/plugin.php(205): WP_Hook->apply_filters(33, Array)
#3 /var/www/www.tul.cz/www/wp-includes/post.php(2822): apply_filters('pre_post_parent', 33)
#4 /var/www/www.tul.cz/www/wp-includes/post.php(2719): sanitize_post_field('post_parent', 33, 26383, 'db')
#5 /var/www/www.tul.cz/www/wp-includes/post.php(4076): sanitize_post(Array, 'db')
#6 /var/www/www.tul.cz/www/wp-includes/post.php(4819): w in /var/www/www.tul.cz/www/wp-content/plugins/press-permit-core/modules/presspermit-collaboration/classes/Permissions/Collab/PostSaveHier
archical.php on line 94
If it is an issue, I hope this will help to solve it soon.
With regards
Libor