New to this...Anyone can help me please?

#1

Hi group,

I’m new to PHP codes. I did an update on my site and now it shows this message.

Could anyone help me, please? It may be simple to you but I don’t have a clue what to do. :frowning_face:


Fatal error : Call to undefined function vc_get_shared() in /home/della378/bestphotocopiers.co.uk/wp-content/plugins/ave-core/includes/params/liquid-extra-params.php on line 2790

The site is experiencing technical difficulties. Please check your site admin email inbox for instructions.


the line 2790:
‘value’ => vc_get_shared( ‘single image styles’ ),

thanks a lot,


);
vc_update_shortcode_param( ‘vc_single_image’,
array(
‘type’ => ‘dropdown’,
‘heading’ => esc_html__( ‘Image style’, ‘ave-core’ ),
‘param_name’ => ‘style’,
‘value’ => vc_get_shared( ‘single image styles’ ),
‘description’ => esc_html__( ‘Select image display style.’, ‘ave-core’ ),
‘dependency’ => array(
‘element’ => ‘source’,
‘value’ => array(
‘media_library’,
‘featured_image’,
),
),
‘weight’ => 1

#2

revert the update or implement the function vc_get_shared, the error message is pretty clear.

#3

Hi Chron,
sorry, but how can I do it?
thnaks for your help,

#4

you are calling a function named vc_get_shared so you should implement it first.

#5

Hi Chorn,

thanks again for your help. ;)))