• Resolved JessK34

    (@jessk34)


    I can no longer do ANYTHING on my site…I get this error:
    Parse error: syntax error, unexpected $end in /home/content/d/e/s/designrus/html/wp-content/themes/customizr/functions.php on line 56

    There aren’t even 56 lines in my functions.php file.
    I tried adding this code:

    add_action('wp_footer', 'mobilemenu_dropdown_on_click', 100);
    function mobilemenu_dropdown_on_click(){

    from https://themesandco.com/snippet/dropdown-menu-on-hover-in-portrait-on-click-in-mobile/

    and I got the error. So I removed it, and it wouldn’t let me update it and gave the error again.

    I don’t know a ton about WP and I’m very new to coding. I’m kinda freaking out. Help!

Viewing 2 replies - 1 through 2 (of 2 total)
  • You have to remove that piece of code from your php file through an FTP or your site’s host page. Once you remove it your page will work like normal.

    Thread Starter JessK34

    (@jessk34)

    Thanks! I looked at a bunch of different threads to find out how to do that and it worked perfectly!!! Praise the Lord! I was freaking out. THANK YOU!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Parse error: HELP!!!!!!!’ is closed to new replies.