I installed Dendrite on a Wordpress site (version 5.7). I then installed the required plugins. They all installed successfully, but two of them throw an error when I try to activate them.
The plugins are called: Advanced Custom Fields: Flexible Content Field and Advanced Custom Fields: Repeater Field
When I click to activate the Flexible Content plugin, I get this error:
Fatal error: Uncaught Error: Call to undefined function acf_register_plugin_update() in /wp-content/plugins/acf-flexible-content/acf-flexible-content-update.php:470 Stack trace: #0 /wp-content/plugins/acf-flexible-content/acf-flexible-content.php(81): include_once() #1 /wp-content/plugins/acf-flexible-content/acf-flexible-content.php(60): acf_plugin_flexible_content->include_file('...') #2 /wp-content/plugins/acf-flexible-content/acf-flexible-content.php(132): acf_plugin_flexible_content->__construct() #3 /wp-admin/includes/plugin.php(2288): include_once('...') #4 /wp-admin/plugins.php(192): plugin_sandbox_scrape('acf-flexible-co...') #5 {main} thrown in /wp-content/plugins/acf-flexible-content/acf-flexible-content-update.php on line 470
And when I try to activate the Repeater Field plugin I get this error:
Fatal error: Uncaught Error: Call to undefined function acf_register_plugin_update() in /wp-content/plugins/acf-repeater/acf-repeater-update.php:470 Stack trace: #0 /wp-content/plugins/acf-repeater/acf-repeater.php(83): include_once() #1 /wp-content/plugins/acf-repeater/acf-repeater.php(62): acf_plugin_repeater->include_file('...') #2 /wp-content/plugins/acf-repeater/acf-repeater.php(133): acf_plugin_repeater->__construct() #3 /wp-admin/includes/plugin.php(2288): include_once('...') #4 /wp-admin/plugins.php(192): plugin_sandbox_scrape('acf-repeater/ac...') #5 {main} thrown in /wp-content/plugins/acf-repeater/acf-repeater-update.php on line 470
Please note I have removed any private path information from the error traces above.
I tried uninstalling the plugins and re-installing them. I also tried uninstalling Dendrite and the plugins and re-installing everything.
Then I tried updating Wordpress to version 5.9.1 and re-installing Dendrite and the plugins, and this did not work.
I was able to activate the plugins, but the site went down, can you please deactivate the Pro version of the ACF plugin to check if that is causing the issue?
I was able to log in to our main wordpress, but I can no longer swap to the staging site. It throws the following error: {"code":"json_decode","message":"Unable to parse JSON","data":null} It is a server 500 error.
I'm not sure I can do much about it without deleting the staging site and creating a new one to try again.
[25-Mar-2022 23:17:17 UTC] PHP Warning: Creating default object from empty value in /public_html/wp-content/themes/dendrite/includes/redux-framework/reduxcore/inc/class.redux_filesystem.php on line 29 [25-Mar-2022 23:17:17 UTC] PHP Fatal error: Uncaught Error: Call to undefined function acf_add_admin_notice() in /public_html/wp-content/plugins/advanced-custom-fields-pro/pro/api/api-pro.php:330 Stack trace: #0 /public_html/wp-content/plugins/advanced-custom-fields-pro/pro/core/updates.php(165): acf_pro_is_license_active() #1 /public_html/wp-includes/class-wp-hook.php(307): acf_pro_updates->plugin_update(Object(stdClass), Object(stdClass)) #2 /public_html/wp-includes/plugin.php(189): WP_Hook->apply_filters(Object(stdClass), Array) #3 /public_html/wp-content/plugins/advanced-custom-fields-pro/core/updates.php(122): apply_filters('acf/updates/plu...', Object(stdClass), Object(stdClass)) #4 /public_html/wp-includes/class-wp-hook.php(309): acf_updates->modify_plugin_update(Object(stdClass)) #5 /public_html/wp-includes/plugin.php(189): WP_Hook->apply_filters(Objec in /public_html/wp-content/plugins/advanced-custom-fields-pro/pro/api/api-pro.php on line 330 [25-Mar-2022 23:17:19 UTC] PHP Warning: Creating default object from empty value in /public_html/wp-content/themes/dendrite/includes/redux-framework/reduxcore/inc/class.redux_filesystem.php on line 29 [25-Mar-2022 23:17:25 UTC] PHP Warning: Creating default object from empty value in /public_html/wp-content/themes/dendrite/includes/redux-framework/reduxcore/inc/class.redux_filesystem.php on line 29 [25-Mar-2022 23:17:37 UTC] PHP Warning: Creating default object from empty value in /public_html/wp-content/themes/dendrite/includes/redux-framework/reduxcore/inc/class.redux_filesystem.php on line 29 [25-Mar-2022 23:17:38 UTC] PHP Warning: Creating default object from empty value in /public_html/wp-content/themes/dendrite/includes/redux-framework/reduxcore/inc/class.redux_filesystem.php on line 29 [25-Mar-2022 23:18:23 UTC] PHP Warning: Creating default object from empty value in /public_html/wp-content/themes/dendrite/includes/redux-framework/reduxcore/inc/class.redux_filesystem.php on line 29 [25-Mar-2022 23:18:24 UTC] PHP Warning: Creating default object from empty value in /public_html/wp-content/themes/dendrite/includes/redux-framework/reduxcore/inc/class.redux_filesystem.php on line 29 [25-Mar-2022 23:18:29 UTC] PHP Warning: Creating default object from empty value in /public_html/wp-content/themes/dendrite/includes/redux-framework/reduxcore/inc/class.redux_filesystem.php on line 29 [26-Mar-2022 14:41:06 UTC] PHP Warning: Creating default object from empty value in /public_html/wp-content/themes/dendrite/includes/redux-framework/reduxcore/inc/class.redux_filesystem.php on line 29 [26-Mar-2022 14:41:06 UTC] PHP Fatal error: Cannot declare class acf_field_flexible_content, because the name is already in use in /public_html/wp-content/plugins/acf-flexible-content/includes/4-0/acf-flexible-content-field.php on line 3 [26-Mar-2022 14:42:45 UTC] PHP Warning: Creating default object from empty value in /public_html/wp-content/themes/dendrite/includes/redux-framework/reduxcore/inc/class.redux_filesystem.php on line 29 [26-Mar-2022 14:42:45 UTC] PHP Fatal error: Cannot declare class acf_field_flexible_content, because the name is already in use in /public_html/wp-content/plugins/acf-flexible-content/includes/4-0/acf-flexible-content-field.php on line 3
Hi there,
I installed Dendrite on a Wordpress site (version 5.7). I then installed the required plugins. They all installed successfully, but two of them throw an error when I try to activate them.
The plugins are called: Advanced Custom Fields: Flexible Content Field and Advanced Custom Fields: Repeater Field
When I click to activate the Flexible Content plugin, I get this error:
Fatal error: Uncaught Error: Call to undefined function acf_register_plugin_update() in /wp-content/plugins/acf-flexible-content/acf-flexible-content-update.php:470 Stack trace: #0 /wp-content/plugins/acf-flexible-content/acf-flexible-content.php(81): include_once() #1 /wp-content/plugins/acf-flexible-content/acf-flexible-content.php(60): acf_plugin_flexible_content->include_file('...') #2 /wp-content/plugins/acf-flexible-content/acf-flexible-content.php(132): acf_plugin_flexible_content->__construct() #3 /wp-admin/includes/plugin.php(2288): include_once('...') #4 /wp-admin/plugins.php(192): plugin_sandbox_scrape('acf-flexible-co...') #5 {main} thrown in /wp-content/plugins/acf-flexible-content/acf-flexible-content-update.php on line 470
And when I try to activate the Repeater Field plugin I get this error:
Fatal error: Uncaught Error: Call to undefined function acf_register_plugin_update() in /wp-content/plugins/acf-repeater/acf-repeater-update.php:470 Stack trace: #0 /wp-content/plugins/acf-repeater/acf-repeater.php(83): include_once() #1 /wp-content/plugins/acf-repeater/acf-repeater.php(62): acf_plugin_repeater->include_file('...') #2 /wp-content/plugins/acf-repeater/acf-repeater.php(133): acf_plugin_repeater->__construct() #3 /wp-admin/includes/plugin.php(2288): include_once('...') #4 /wp-admin/plugins.php(192): plugin_sandbox_scrape('acf-repeater/ac...') #5 {main} thrown in /wp-content/plugins/acf-repeater/acf-repeater-update.php on line 470
Please note I have removed any private path information from the error traces above.
I tried uninstalling the plugins and re-installing them. I also tried uninstalling Dendrite and the plugins and re-installing everything.
Then I tried updating Wordpress to version 5.9.1 and re-installing Dendrite and the plugins, and this did not work.
Any help is appreciated.
Laura Hardie
Hi,
Can you please provide me with your wp-admin, I will have a quick look to see what's going on.
Feel free to ask for anything you need.
Kind Regards
Also, could you please give me an email address? I am setting up an account you can use to look.
Hi,
I was able to activate the plugins, but the site went down, can you please deactivate the Pro version of the ACF plugin to check if that is causing the issue?
Feel free to ask for anything you need.
Kind Regards
I was able to log in to our main wordpress, but I can no longer swap to the staging site. It throws the following error: {"code":"json_decode","message":"Unable to parse JSON","data":null} It is a server 500 error.
I'm not sure I can do much about it without deleting the staging site and creating a new one to try again.
Here are the errors from the logs:
[25-Mar-2022 23:17:17 UTC] PHP Warning: Creating default object from empty value in /public_html/wp-content/themes/dendrite/includes/redux-framework/reduxcore/inc/class.redux_filesystem.php on line 29
[25-Mar-2022 23:17:17 UTC] PHP Fatal error: Uncaught Error: Call to undefined function acf_add_admin_notice() in /public_html/wp-content/plugins/advanced-custom-fields-pro/pro/api/api-pro.php:330
Stack trace:
#0 /public_html/wp-content/plugins/advanced-custom-fields-pro/pro/core/updates.php(165): acf_pro_is_license_active()
#1 /public_html/wp-includes/class-wp-hook.php(307): acf_pro_updates->plugin_update(Object(stdClass), Object(stdClass))
#2 /public_html/wp-includes/plugin.php(189): WP_Hook->apply_filters(Object(stdClass), Array)
#3 /public_html/wp-content/plugins/advanced-custom-fields-pro/core/updates.php(122): apply_filters('acf/updates/plu...', Object(stdClass), Object(stdClass))
#4 /public_html/wp-includes/class-wp-hook.php(309): acf_updates->modify_plugin_update(Object(stdClass))
#5 /public_html/wp-includes/plugin.php(189): WP_Hook->apply_filters(Objec in /public_html/wp-content/plugins/advanced-custom-fields-pro/pro/api/api-pro.php on line 330
[25-Mar-2022 23:17:19 UTC] PHP Warning: Creating default object from empty value in /public_html/wp-content/themes/dendrite/includes/redux-framework/reduxcore/inc/class.redux_filesystem.php on line 29
[25-Mar-2022 23:17:25 UTC] PHP Warning: Creating default object from empty value in /public_html/wp-content/themes/dendrite/includes/redux-framework/reduxcore/inc/class.redux_filesystem.php on line 29
[25-Mar-2022 23:17:37 UTC] PHP Warning: Creating default object from empty value in /public_html/wp-content/themes/dendrite/includes/redux-framework/reduxcore/inc/class.redux_filesystem.php on line 29
[25-Mar-2022 23:17:38 UTC] PHP Warning: Creating default object from empty value in /public_html/wp-content/themes/dendrite/includes/redux-framework/reduxcore/inc/class.redux_filesystem.php on line 29
[25-Mar-2022 23:18:23 UTC] PHP Warning: Creating default object from empty value in /public_html/wp-content/themes/dendrite/includes/redux-framework/reduxcore/inc/class.redux_filesystem.php on line 29
[25-Mar-2022 23:18:24 UTC] PHP Warning: Creating default object from empty value in /public_html/wp-content/themes/dendrite/includes/redux-framework/reduxcore/inc/class.redux_filesystem.php on line 29
[25-Mar-2022 23:18:29 UTC] PHP Warning: Creating default object from empty value in /public_html/wp-content/themes/dendrite/includes/redux-framework/reduxcore/inc/class.redux_filesystem.php on line 29
[26-Mar-2022 14:41:06 UTC] PHP Warning: Creating default object from empty value in /public_html/wp-content/themes/dendrite/includes/redux-framework/reduxcore/inc/class.redux_filesystem.php on line 29
[26-Mar-2022 14:41:06 UTC] PHP Fatal error: Cannot declare class acf_field_flexible_content, because the name is already in use in /public_html/wp-content/plugins/acf-flexible-content/includes/4-0/acf-flexible-content-field.php on line 3
[26-Mar-2022 14:42:45 UTC] PHP Warning: Creating default object from empty value in /public_html/wp-content/themes/dendrite/includes/redux-framework/reduxcore/inc/class.redux_filesystem.php on line 29
[26-Mar-2022 14:42:45 UTC] PHP Fatal error: Cannot declare class acf_field_flexible_content, because the name is already in use in /public_html/wp-content/plugins/acf-flexible-content/includes/4-0/acf-flexible-content-field.php on line 3
Hi,
I am very sorry for the late reply, we were not working on the weekend.
I can't reach your site, can you please take a look at it?
- https://ibb.co/S0QtgQL
Feel free to ask for anything you need.
Kind Regards