syntax error

  • Author
    Posts
  • #32491
    laquot

    Hi ,

    Can anyone help me , I get this and I can’t go to my page log

    Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/laquotid/www/wp-content/themes/nirvana/admin/main.php on line 19

    Thanks you so much

    #32490
    quoti

    Hi ,

    Can anyone help me , I get this and I can’t go to my page log

    Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/laquotid/www/wp-content/themes/nirvana/admin/main.php on line 19

    <?php
    // Frontend

    // Defaults
    require_once(get_template_directory() . “/admin/defaults.php”);
    require_once(get_template_directory() . “/admin/prototypes.php”);
    // Custom CSS
    require_once(get_template_directory() . ” /includes/custom-styles.php » );

    // Admin Side

    $nirvana_cleanup_warnings = array ( ‘scripts’ => 0, ‘styles’ => 0, ‘keys’ => array() );

    if( is_admin() ) {
    // Settings arrays
    require_once(get_template_directory() . “/admin/settings.php”);
    // Loading the WP customizer handler
    require_once(get_template_directory() . “/admin/customizer.php”);
    // Callback functions
    require_once(get_template_directory() . “/admin/admin-functions.php”);
    // Sanitize functions
    require_once(get_template_directory() . “/admin/sanitize.php”);
    // Color scheme presets
    require_once(get_template_directory() . “/admin/schemes.php”);
    }

    // Get the theme options and make sure defaults are used if no values are set
    function nirvana_get_theme_options() {
    $optionsNirvana = wp_parse_args(
    get_option( ‘nirvana_settings’, array() ),
    nirvana_get_option_defaults()
    );
    $optionsNirvana[‘id’] = “nirvana_settings”;
    return $optionsNirvana;
    }

    Thanks you so much

    #32502
    Zed
    Cryout Creations mastermind

    There is no constant on line 19 in that file, line 19 corresponds to
    // Callback functions
    which is just a comment.

    Double-check the file is complete, re-upload it (from the theme archive) or remove and reinstall the theme altogether.


    If you like our creations, help us share by rating them on WordPress.org.
    Please check the available documentation and search the forums before starting a topic.
Viewing 3 posts - 1 through 3 (of 3 total)

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