Hello, just bought the theme and I can’t even activate the tagDiv composer. When I go to activate the plugin I get this fatal error:
An error of type E_ERROR was caused in line 507 of the file /nas/content/live/centralmatown/wp-content/plugins/td-composer/css-analyze/css-analyze.php. Error message: Uncaught ArgumentCountError: Too few arguments to function {closure}(), 4 passed in /nas/content/live/centralmatown/wp-includes/class-wp-hook.php on line 287 and exactly 5 expected in /nas/content/live/centralmatown/wp-content/plugins/td-composer/css-analyze/css-analyze.php:507 Stack trace: #0 /nas/content/live/centralmatown/wp-includes/class-wp-hook.php(287): {closure}(NULL, 2, ‘tdb_template_ty…’, true) #1 /nas/content/live/centralmatown/wp-includes/plugin.php(212): WP_Hook->apply_filters(NULL, Array) #2 /nas/content/live/centralmatown/wp-includes/meta.php(676): apply_filters(‘get_post_metada…’, NULL, 2, ‘tdb_template_ty…’, true) #3 /nas/content/live/centralmatown/wp-content/plugins/td-composer/legacy/common/wp_booster/td_first_install.php(201): metadata_exists(‘post’, 2, ‘tdb_template_ty…’) #4 /nas/content/live/centralmatown/wp-includes/class-wp-hook.php(287): {closure}(”) #5 /nas/content/live/centralmatown/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(”, Array) #6 /nas/content/live/c
Hi,
@zcarpman, Sorry to reply on your post, but I did not want to add another same post as you are facing on.
I am now facing on the same issue and need to solve this. I have read previous articles and I have set PHP version from 7.4 to 7.3 and reinstall the tagDiv composer a few times. Nothing change, displaying errors.
Please let us know how we can manage to solve this ASAP.
All best,
Or if your wordpress version 5.7 will have some incompatibilities with other plugins and want to keep the old one, go to wp-content/plugins/td-composer/css-analyze/css-analyze.php on line 506 and change from if ( in_array( version_compare(get_bloginfo('version'), '5.5'), array(0, 1))) { to if ( in_array( version_compare(get_bloginfo('version'), '5.5'), array(0, -1))) { and your website will be UP again.