Syntax Error - by writeonepub - on WordPress WooCommerce support

This topic has 9 replies, 3 voices, and was last updated 9 years, 9 months ago ago by Jack Richardson

  • Avatar: writeonepub
    writeonepub
    Participant
    March 3, 2016 at 03:21

    Hi, I added the Royal theme to my site per your FTP instructions and am receiving the following syntax error:

    Parse error: syntax error, unexpected T_FUNCTION in /home/content/31/5499731/html/howtowriteabook/wp-content/themes/royal/framework/theme-functions.php on line 2935

    Please advise.

    Please, contact administrator
    for this information.
    8 Answers
    Avatar: Robert Hall
    Robert Hall
    Participant
    March 3, 2016 at 08:37

    Hello,

    Please provide us with wp-admin and FTP credentials in Private Content.

    Regards,
    Robert Hall

    Avatar: writeonepub
    writeonepub
    Participant
    March 3, 2016 at 16:23

    Information is provided in private content. Thanks!

    Please, contact administrator
    for this information.
    Avatar: Robert Hall
    Robert Hall
    Participant
    March 4, 2016 at 09:16

    Hello,

    Your FTP credentials aren’t correct. Please check them.

    Regards,
    Robert Hall

    Avatar: writeonepub
    writeonepub
    Participant
    March 4, 2016 at 16:45

    Information is provided in private content. Thanks!

    Please, contact administrator
    for this information.
    Avatar: Robert Hall
    Robert Hall
    Participant
    March 5, 2016 at 11:49

    Hello,

    This error might be caused by old php version on the server. Please contact your hosting provider and ask to change php version to 5.3 or higher.
    Thank you.

    Regards,
    Robert Hall

    Avatar: writeonepub
    writeonepub
    Participant
    March 5, 2016 at 16:30

    I’ve updated the php to version 5.4 and now I’m getting the following errors:

    Warning: include_once(/home/content/31/5499731/html/howtowriteabook/wp-content/themes/royal/option-tree/includes/ot-functions.php): failed to open stream: No such file or directory in /home/content/31/5499731/html/howtowriteabook/wp-content/themes/royal/option-tree/ot-loader.php on line 550

    Warning: include_once(): Failed opening ‘/home/content/31/5499731/html/howtowriteabook/wp-content/themes/royal/option-tree/includes/ot-functions.php’ for inclusion (include_path=’.:/usr/local/php5_4/lib/php’) in /home/content/31/5499731/html/howtowriteabook/wp-content/themes/royal/option-tree/ot-loader.php on line 550

    Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ‘ot_load_google_fonts_css’ not found or invalid function name in /home/content/31/5499731/html/howtowriteabook/wp-includes/plugin.php on line 525

    Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ‘ot_load_dynamic_css’ not found or invalid function name in /home/content/31/5499731/html/howtowriteabook/wp-includes/plugin.php on line 525

    Avatar: writeonepub
    writeonepub
    Participant
    March 6, 2016 at 21:28

    No worries, I’ve figured out the issue. Thanks!

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    March 7, 2016 at 09:33

    Hello,

    Glad to hear it.

    Have a nice day.
    Best regards,
    Jack Richardson.

  • Viewing 9 results - 1 through 9 (of 9 total)

The issue related to '‘Syntax Error’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.