I am building a site in localhost. I am using WAMP server. When I use php 7.2.7, it's all running smoothly. But when I change it to 7.3.7, which is the current standard of my web host, the site on my pc is showing this error.
The code on that line is this:
protected static function parseShortcodeAttrs($sc_tag){
$attributes = (object)array();
if(preg_match_all('/[\w-_]+="[^"]*"/', $sc_tag, $matches)!== false){
if($matches){
foreach ((array)$matches[0] as $attr) {
if(preg_match('/([\w-_]+)="([^"]*)"/',$attr,$attrs)){
$attributes->{$attrs[1]} = $attrs[2];
Thank you in advance for your time in helping with this issue.