T_Function error after activating the theme

Solved3 replies3 participantsUpdated by Rjgcreationsllc

  • Avatar: Hoellwarth
    Hoellwarth
    Participant

    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

    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
    Participant

    Hello,

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

    Regards,
    Robert Hall.

    Avatar: Rjgcreationsllc
    Rjgcreationsllc
    Participant

    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

The issue related to '‘T_Function error after activating the theme’' has been successfully resolved, and the topic is now closed for further responses