Help, site crashed after I made a change in extras.php

My site is not coming up
instead I’m getting

Parse error: syntax error, unexpected $end in /home/content/m/a/a/maaxseduction/html/wp-content/themes/sparkling/inc/extras.php on line 441

I can’t even edit that as my dashboard is gone also.

I can call Godaddy and restore my files to yesterday

but is there a way to restore my site or to fix the extras.php file

I simply removed

the print function code that displays the copyright, theme info from the footer.

function sparkling_footer_info() {
global $sparkling_footer_info;
printf( esc_html__( ‘Theme by %1$s Powered by %2$s’, ‘sparkling’ ) , ‘Colorlib’, ‘WordPress’);

Now when I put it back in the right space in extras.php, and click on update in my dashboard
the site is gone.

It won’t allow me to fix it.

Any help is appreciated.


Hi @platinummack,

I hope you are well today and thank you for your question.

You can access your site files using FTP or cPanel file manager then restore the file extras.php with following file.

Best Regards,