T_Function error after activating the theme

This topic has 4 replies, 3 voices, and was last updated 9 years, 7 months ago ago by Rjgcreationsllc

  • Avatar: Hoellwarth
    Hoellwarth
    Participant
    September 15, 2014 at 22:32

    Hello, I just bought Royal theme and I uploaded it to my fresh WP installation. Just after I click “Activate”, I get this error message:

    Parse error: syntax error, unexpected T_FUNCTION in ********/wp-content/themes/royal/framework/theme-functions.php on line 2843

    Solution?

    3 Answers
    Avatar: Hoellwarth
    Hoellwarth
    Participant
    September 15, 2014 at 23:14

    Solved by myself: it was just a problem related to my php version. After upgrading from 5.2.17 to 5.4.30 everything’s fine. You can close the topic, thank you.

    Avatar: Robert Hall
    Robert Hall
    Support staff
    September 16, 2014 at 06:20

    Hello,

    We’re glad to hear it.
    If you have any questions feel free to contact us.

    Regards,
    Robert Hall.

    Avatar: Rjgcreationsllc
    Rjgcreationsllc
    Participant
    September 19, 2014 at 00:03

    I have the same error but can not seem to fi it.

    Parse error: syntax error, unexpected T_FUNCTION in /home/content/24/5400324/html//themes/royal/framework/theme-functions.php on line 2843

    No need for help, fixed the problem

    People that have T_Function problem
    Just call your Hosting company and ask what PHP version is loaded for your site and they will guide you on setting up the 5.30 PHP version.

    Good Luck Everyone

    Robert

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

The issue related to '‘T_Function error after activating the theme’' 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.