• Resolved nrms

    (@nrms)


    Hi,
    By using this plugin, when I click on the pointer icon (pointer.png), for example to create instances, opens a popup window with the following error:

    Fatal error: Call to a member function main() on a non-object in /home/???/public_html/wp-includes/functions.php on line 808

    This happens in any such option click this icon.

    I leave an extract of my functions.php on these lines.

    function avada_cat_count_span($links) {
    	$get_count = preg_match_all('#\((.*?)\)#', $links, $matches);
    
    	if($matches) {
    		$i = 0;
    		foreach($matches[0] as $val) {
    			$links = str_replace('</a> '.$val, ' '.$val.'</a>', $links);
    			$links = str_replace('</a>&nbsp;'.$val, ' '.$val.'</a>', $links);
    			$i++;
    		}
    	}
    
    	return $links;
    }

    https://www.ads-software.com/plugins/wp-insert/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Fatal error: Call to a member function main() on a non-object’ is closed to new replies.