• Hi,
    I have this kind of parse error in the goodspace theme:
    Parse error: syntax error, unexpected ‘;’, expecting ‘)’ in /var/www/ebuscemi/wp-content/themes/goodspace/include/page-option.php on line 577

    unfortunately i don’t have a backup of theme and page-option.php

    this is the code of that lines

    // create Page Option Meta
    add_action(‘add_meta_boxes’, ‘add_page_option’);
    function add_page_option(){

    add_meta_box(‘page-option’, __(‘Page Option’,’gdl_back_office’), ‘add_page_option_element’,
    ‘page’, ‘normal’, ‘high’);

    }

    Someone can help me?
    thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter kiz2004

    (@kiz2004)

    this is the code that i was modifing

    ‘Column-Service’=>array(
    “image” => array( ‘title’=>__(‘IMAGE’,’gdl_back_office’), ‘name’=>’page-option-item-column-service-image’,
    ‘type’=>’upload’,
    ‘description’=>’The proper image size of the column service is 32x32px’),
    ‘title’=>array(
    ‘title’=> __(‘TITLE’, ‘gdl_back_office’),
    ‘name’=> ‘page-option-item-column-service-title’,
    ‘type’=> ‘inputtext’),
    ‘caption’=>array(
    ‘title’=> __(‘CAPTION’, ‘gdl_back_office’),
    ‘name’=> ‘page-option-item-column-service-caption’,
    ‘type’=> ‘textarea’),
    ‘read-more’=> array(
    ‘title’=> __(‘READ MORE LINK’, ‘gdl_back_office’),
    ‘name’=> ‘page-option-item-column-service-link’,
    ‘type’=> ‘inputtext’),
    ‘read-more-text’=> array(
    ‘title’=> __(‘READ MORE TITLE’, ‘gdl_back_office’),
    ‘name’=> ‘page-option-item-column-service-link-text’,
    ‘type’=> ‘inputtext’,
    ‘default’=> ‘Learn More’,
    ‘hr’=>’none’),
    ),

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Which code is at the line number of the error?

    Thread Starter kiz2004

    (@kiz2004)

    line 577, this is the exact code

    function add_page_option(){

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Remove the comma on 'hr'=>'none'),

    Thread Starter kiz2004

    (@kiz2004)

    no, it does not work.
    the same error

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Parse error: syntax error, unexpected ';', expecting ')' in /var/www/ebuscemi/wp’ is closed to new replies.