WordPress.org

Ready to get started?Download WordPress

Forums

Lugada
Parse Error (6 posts)

  1. _pey
    Member
    Posted 2 years ago #

    Having errors when previewing and activating the theme.

    Parse error: syntax error, unexpected ';' in themes/lugada/include/widget.php on line 1

    http://wordpress.org/extend/themes/lugada/

  2. Tara
    Member
    Posted 2 years ago #

    -switching to the unedited default theme (twenty eleven) for a moment by renaming your current theme's folder in wp-content/themes. The idea is to force WordPress to fall back to the default theme to rule out any theme-specific issue.

    If you don't have access to your admin area, then access your server via FTP or SFTP or whatever file management application your host provides.

  3. _pey
    Member
    Posted 2 years ago #

    Still having the same problem.

  4. Tara
    Member
    Posted 2 years ago #

    -didiyou try switching to the default theme?

    -if that did not help try, deactivating ALL plugins temporarily to narrow down the problem. If the problem goes away, activate them individually (one-by-one) to find the problematic plugin.

    If you don't have access to your admin area, try deactivating plugins manually via FTP or phpMyAdmin.

  5. AvalonMel
    Member
    Posted 2 years ago #

    I'm having the same problem. Fresh install of WordPress so I haven't added plug-ins or widgets or anything at all to the site.

    Parse error: syntax error, unexpected ';' in /home/mlhogan/public_html/wp-content/themes/lugada/include/widget.php on line 1

  6. justinlseitz@gmail.com
    Member
    Posted 1 year ago #

    If you open the widget.php file that is causing the Parsing Error. The Code looks like this;

    <?php
    
    class RecentPost_Widget extends WP_Widget {

    It should look like this

    <?php
    class RecentPost_Widget extends WP_Widget {

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags