Not sure if I’m posting in the right category but the Porto theme is using deprecated PHP syntax. This is throwing fatal errors.
Do not refer me to their support page as this is a theme issue that will effect anyone with even PHP 7.4.
This is the error it throws. I suggest the authors take a look over the theme and fix these issues in the whole theme.
Fatal error: Array and string offset access syntax with curly braces is no longer supported in C:\Users\const\Local Sites\barber-on-site\app\public\wp-content\plugins\porto-functionality\shortcodes\templates\porto_lightbox.php on line 57
Are you running the latest version of the theme? According to the author, version 6.1.0 added full PHP 8.0 compatibility, which would fix the issue you describe.
Hello,
Thank you for the response.
Yes I have updated to the latest version which is 6.2.2. I am running PHP 8.0 if that helps.
1 Like
It seems like they might have missed the curly braces on some shortcodes then. 
I’ll tag their support team @PT-Support2 but there’s no guarantee they will see this so I recommend leaving a comment to let them know about the mistake: Discussion on Porto | Multipurpose & WooCommerce Theme
In the meantime, you can open the wp-content\plugins\porto-functionality\shortcodes\templates\porto_lightbox.php file in an editor, find line 57, and replace the {}
characters with []
to fix the error.
Thank you for your help. Will let them know.