PHP Fatal error: Cannot access offset of type string on string
-
When I update to PublishPress 4.0.30, I get this error:
[Tue Oct 08 12:17:52.322966 2024] [error] [pid 895015] mod_proxy_fcgi.c(887): [client 109.239.229.238:0] AH01071:
Got error ‘PHP message: PHP Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /wp-content/plugins/presspermit-pro/modules/presspermit-teaser/classes/Permissions/Teaser/PostsTeaser.php:468
Stack trace:
#0 /wp-content/plugins/presspermit-pro/modules/presspermit-teaser/classes/Permissions/TeaserHooks.php(318): PublishPress\Permissions\Teaser\PostsTeaser::applyTeaser(Object(WP_Post), ‘post’, ‘post’, Array)
#1 /wp-includes/class-wp-hook.php(324): PublishPress\Permissions\TeaserHooks->fltElementorContent(‘\t\t<div data-ele…’)
#2 /wp-includes/plugin.php(205): WP_Hook->apply_filters(‘\t\t<div data-ele…’, Array)
#3 /wp-content/plugins/elementor/includes/frontend.php(1222): apply_filters(‘elementor/front…’, ‘\t\t<div data-ele…’)
#4 /wp-content/plugins/elementor/core/base/document.php(1…’(I downgraded again to 4.0.25 to get the website working again)
PHP version is 8.1
The page I need help with: [log in to see the link]
- You must be logged in to reply to this topic.