syntax error

  • Unknown's avatar

    I have currently edit my blog and there is error which is mentioned below, and i am not able to access it what to do

    Parse error: syntax error, unexpected ‘.’ in /home/ndhvk/public_html/wp-content/themes/colorway/functions.php on line 112

    The blog I need help with is: (visible only to logged in users)

  • Hi,

    You have a self-hosted blog running software from WordPress.org. Its appropriate community support forum can be found here.

    This forum is for hosted blogs at WordPress.com, where users don’t have access to any files. You’ll have to post in the forums I linked above.

  • Unknown's avatar

    Hello everyone,

    I am experiencing a frustrating situation:

    After I modified the function.php I can’t enter anymore my wp-admin and the following text appear on my page:

    Parse error: syntax error, unexpected ‘<‘ in /home3/cryptopx/public_html/wp-content/themes/color/functions.php on line 47

    It happened after I wrote the following in my function.php:

    <?php
    /**
    * Register our sidebars and widgetized areas.
    *
    */
    function arphabet_widgets_init() {

    register_sidebar( array(
    ‘name’ => ‘Home right sidebar’,
    ‘id’ => ‘home_right_1’,
    ‘before_widget’ => ‘<div>’,
    ‘after_widget’ => ‘</div>’,
    ‘before_title’ => ‘<h2 class=”rounded”>’,
    ‘after_title’ => ‘</h2>’,
    ) );

    }
    add_action( ‘widgets_init’, ‘arphabet_widgets_init’ );
    ?>

    Ho can I solve this problem?? Please is urgent….

    Thanks in advance for your suggestions

  • Unknown's avatar

    ps: my site is cryptoyou.com

  • The topic ‘syntax error’ is closed to new replies.