Support » Fixing WordPress » Customizr Theme Syntax Error

  • Resolved whatthehell

    (@whatthehell)


    Hello,

    Tried to change something in the editor/footer but did not work. So I copied the original codes back in. However, as soon as I clicked update, I got kicked out & I cannot even go to login page. I get the following error, “Parse error: syntax error, unexpected ‘:’ in C:\wamp\www\Avestan_Practice\wp-content\themes\customizr\parts\class-footer-footer_main.php on line 174 “. Here the rest of the message

    Call Stack

    #

    Time

    Memory

    Function

    Location

    1 0.0031 485824 {main}( ) ..\wp-login.php:0
    2 0.0038 505088 require( ‘C:\wamp\www\Avestan_Practice\wp-load.php’ ) ..\wp-login.php:12
    3 0.0046 516440 require_once( ‘C:\wamp\www\Avestan_Practice\wp-config.php’ ) ..\wp-load.php:29
    4 0.0059 608648 require_once( ‘C:\wamp\www\Avestan_Practice\wp-settings.php’ ) ..\wp-config.php:90
    5 0.2796 20225248 include( ‘C:\wamp\www\Avestan_Practice\wp-content\themes\customizr\functions.php’ ) ..\wp-settings.php:316
    6 0.2797 20235472 tc__( ) ..\functions.php:235
    7 0.2832 20259384 TC___->__construct( ) ..\functions.php:60
    8 0.2842 20272960 tc__( ) ..\class-customizr-__.php:75
    9 0.6003 21995744 locate_template( ) ..\functions.php:53
    10 0.6005 21996008 load_template( ) ..\template.php:417

    Sorry for the mess. Can someone help please?
    I’m sorry for not making a backup file.

    Thank you
    Simon

Viewing 3 replies - 1 through 3 (of 3 total)
  • Parse error: syntax error, unexpected ‘:’ in C:\wamp\www\Avestan_Practice\wp-content\themes\customizr\parts\class-footer-footer_main.php on line 174

    It is telling you where the issue is at.

    You will need to FTP in and fix the issue.

    EDIT:
    Just noticed that it is running local using WAMP….. Simply just edit the file (no need for FTP)

    Maybe showing the code from the footer may help getting you answers

    Next time, please post in the theme’s own forum:

    http://wordpress.org/support/theme/customizr

    BTW, you should be using a child theme – modifying theme files is not a good idea.

    Thread Starter whatthehell

    (@whatthehell)

    Justin,

    I thank you very much. I sincerely appreciated your help & prompt response. Thank again. Simon

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Customizr Theme Syntax Error’ is closed to new replies.