- This topic has 2 replies, 1 voice, and was last updated 2 days, 14 hours ago by .
- You must be logged in to reply to this topic.
These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.
Tagged: Genesis Blocks Pro
My website "broke" yesterday and the culprit seems to be Genesis Blocks Pro. Do I need to roll back my PHP version for it to work with the plugin? I've deactivated the plugin so that I can access the website, but would like to use the plugin.
When seeking help with this issue, you may be asked for some of the following information:
WordPress version 5.9
Current theme: Cora Reilly (version 1.0) (Parent theme: GeneratePress (version: 3.1.3))
Current plugin: Genesis Blocks Pro (version 1.7.0)
PHP version 8.0.14
An error of type E_ERROR was caused in line 212 of the file /var/www/wp-content/plugins/genesis-page-builder/lib/genesis-blocks/lib/Settings/AdminPage.php. Error message: Uncaught TypeError: Genesis\Blocks\Settings\AdminPage::add_body_class(): Return value must be of type string, null returned in /var/www/wp-content/plugins/genesis-page-builder/lib/genesis-blocks/lib/Settings/AdminPage.php:212
#0 /var/www/wp-includes/class-wp-hook.php(307): Genesis\Blocks\Settings\AdminPage->add_body_class(NULL)
#1 /var/www/wp-includes/plugin.php(189): WP_Hook->apply_filters(NULL, Array)
#2 /var/www/wp-admin/admin-header.php(242): apply_filters('admin_body_clas...', '')
#3 /var/www/wp-admin/index.php(137): require_once('/var/www/wp-adm...')
You need to check why this issue created.
These are some ways like rollback the wordpress version. I think after this plugin will word fine.
Regards: Pipe scaffolding in Bronx
Thank you very much for giving the answer to this problem.
My buddy and I are working on a WordPress project and we discovered this error again. We believe we are using a cracked version of the plugin, which may be why this problem happens. We acquired a plugin from a deals auction with a license key, but the problem remains the same.
So, thank you for giving this information and resolving my issue.
© 2022 WPEngine, Inc.