• after updating contact 7 this happened. Now i am not able to do anything in the backend of the website in the admin pannel.

    Parse error: syntax error, unexpected ‘print’ (T_PRINT), expecting identifier (T_STRING) in /home3/r3o7u7w4/public_html/wp-content/plugins/contact-form-7/admin/includes/welcome-panel.php on line 9

    Any link in the admin after logging in is greated by that error. My contact pages are also gone (contact 7)

    I did get a recovery email, worked. THen after turning off the contact 7 plug in this happened

    WordPress version 5.8.1
    Current theme: Skilled (version 1.1.2)
    Current plugin: Contact Form 7 (version 5.5.1)
    PHP version 5.6.3

Viewing 8 replies - 1 through 8 (of 8 total)
  • I got the same error today.

    Main website admin page gave this error first:
    “There has been a critical error on this website. Please check your site admin email inbox for instructions.”

    Inside the admin email it said:
    “WordPress caught an error with one of your plugins, Contact Form 7.”

    And when I logged in the recovery mode the Contact Form 7 Plugin was paused with this message:
    “This Plugin failed to load properly and is paused during recovery mode.”
    An error of type E_PARSE was caused in line 9 on the file …/plugins/contact-form-7/admin/includes/welcome-panel.php Error message: syntax error, unexpected ‘print’ (T_PRINT), expecting identifier (T_STRING)

    Hoping to get answers and a fix from the developer.

    I have the same issue:
    1. Upgraded from 5.5 to 5.5.1.
    2. Admin panel noted error. I used the generated email to recover by deactivating Contact Form 7.
    3. I installed 5.5 from ZIP. It didn’t resolved the issue. Getting this error message:

    Plugin could not be activated because it triggered a fatal error.
    Parse error: syntax error, unexpected ‘namespace’ (T_NAMESPACE), expecting identifier (T_STRING) in …/plugins/contact-form-7/includes/rest-api.php on line 15.

    PLEASE HELP!

    Thank you @admorrow for the link!
    That solution worked for me.

    Thread Starter motosquid

    (@motosquid)

    Yes this solution worked for me as well. Thank you.

    This may be silly, where do I even access the welcome-panel.php?

    Thanks

    Thread Starter motosquid

    (@motosquid)

    You can find the welcome-panel int he plug in page.

    Use your ftp to navigate here
    /home3/r3o7u7w4/public_html/wp-content/plugins/contact-form-7/admin/includes/welcome-panel.php

    yepp, same exact error happened to me as well, the common problem seems to be that we are all running on very outdated versions of PHP (5.6 to be specific), but i can’t updated PHP because my theme or something else doesn’t support it (i’m working on a redesign with a new theme)

    so the solution is to either upgrade your PHP version or change 2 lines of code in /wp-content/plugins/contact-form-7/admin/includes/welcome-panel.php
    ? Line 9: Rename function to public function _print()
    ? Line 223: Rename to $column->_print();

    I did the later and it worked.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘admin page not working’ is closed to new replies.