Hey guys I would extremely appreciate it if someone can help me out with an issue I am having on my Wordpress website after updating to PHP 7.4 (I am not that tech-savvy)
I thought it would be a good idea to update to PHP 7.4 from 7.1 for security reasons, before the update I ensured that all of my plug-ins were updated and my Wordpress was running the latest version.
After the update everything was smooth except for one small section on my home screen.
Imgur: The magic of the Internet[
^]
I believe I know the plugin used for this section, it is WPBakery and I do not have the license for it so it is running on version 6.1
I also have the code stating where the problem is: (line 817)
add_shortcode('process', 'process_func');
function process_func($atts, $content = null){
extract(shortcode_atts(array(
'shadow' => '',
'number' => '',
'title' => '',
'image' => '',
'style' => 'style1',
), $atts));
$img = wp_get_attachment_image_src($image,'full');
$img = $img[0];
ob_start();
?>
This is what the section of the website looks like in PHP Version 7.2
Imgur: The magic of the Internet[
^]
If someone understands the issue here and can explain it I would really appreciate the help! Also let me know if you need more information or context and I will provide it.
What I have tried:
I am not sure how to fix this.