Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #520632

    I think something went wrong here:

     
     
     
    $avia_config['color_sets'] = array(
        'header_color'      => 'Logo Area',
        'main_color'        => 'Main Content',
        'alternate_color'   => 'Alternate Content',
        'footer_color'      => 'Footer',
        'socket_color'      => 'Socket'
     );
     
     
    
    /*
     * add support for responsive mega menus
     */
     
    add_theme_support('avia_mega_menu');
    
    /*
     * deactivates the default mega menu and allows us to pass individual menu walkers when calling a menu
     */
     
    add_filter('avia_mega_menu_walker', '__return_false');
    

    Im desperate. I dont have a backup and I dont know anything about coding. I wish I just could revert my changes, but I cant!

    #520634

    This error comes up when I go to my website:

    Parse error: syntax error, unexpected ‘$avia_config’ (T_VARIABLE) in /home/profilco/public_html/wp-content/themes/enfold/functions.php on line 42

    #520639

    /close thread

    The problem is solved. I just restored the public.html file using a backup I had.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Played around with .php file and my website stopped working’ is closed to new replies.