Cornerstone error on update

atal error : Uncaught ArgumentCountError: Too few arguments to function Cornerstone_Element_Front_End::begin_excerpt(), 1 passed in /home/wildfir8/staging/1/wp-includes/class-wp-hook.php on line 287 and exactly 2 expected in /home/wildfir8/staging/1/wp-content/plugins/cornerstone/includes/classes/elements/class-element-front-end.php:31 Stack trace: #0 /home/wildfir8/staging/1/wp-includes/class-wp-hook.php(287): Cornerstone_Element_Front_End->begin_excerpt(‘After removing …’) #1 /home/wildfir8/staging/1/wp-includes/plugin.php(212): WP_Hook->apply_filters(‘After removing …’, Array) #2 /home/wildfir8/staging/1/wp-content/plugins/js_composer/include/params/vc_grid_item/attributes.php(357): apply_filters(‘get_the_excerpt’, ‘’) #3 /home/wildfir8/staging/1/wp-includes/class-wp-hook.php(287): vc_gitem_template_attribute_post_excerpt(’’, ‘’) #4 /home/wildfir8/staging/1/wp-includes/plugin.php(212): WP_Hook->apply_filters(’’, Array) #5 /home/wildfir8/staging/1/wp-content/plugins/js_composer/include/params/vc_grid_item/attributes in /home/wildfir8/staging/1/wp-content/plugins/cornerstone/includes/classes/elements/class-element-front-end.php on line 31

All the other pages are loading fine except for the home page, #confused


Updated to X 8.0.7
Php 7.4
cornerstone 5.0.7
Have deleted and re added and tried all sorts

Any ideas greatly appreciated

Hello @stevewild,

Thanks for writing to us.

It would be best if you can delete and reinstall the Cornerstone plugin. I would also suggest you update your X theme and Cornerstone page builder to 8.0.8 & 5.0.8 version respectively.

If it doesn’t work for you, please share your details in a secure note. Please provide the following details

  • WordPress Login URL
  • Admin level username and password
  • FTP

You can find the Secure Note button at the bottom of your posts

Thanks

Thanks @stevewild! I’ve installed development versions of X and Cornerstone that include a fix for this issue. You can safely update via automatic updates when the next point release is available.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.