Viewing 6 replies - 1 through 6 (of 6 total)
  • I confirm it. PHP 5.6.40

    Ditto.

    Just updated to 5.5.1 and whilst I can now use the site again, in the admin panel I cannot access the Updates page or the WP Mail smtp page.

    Error is the same as above:

    Parse error: syntax error, unexpected ‘print’ (T_PRINT), expecting identifier (T_STRING) in /home/public/wordpress/wp-content/plugins/contact-form-7/admin/includes/welcome-panel.php on line 9
    There has been a critical error on this website. Please check your site admin email inbox for instructions.

    Learn more about troubleshooting WordPress.

    I confirm this parse error on v5.5.1.
    Just have to rename print() > wpcf7_print(), for instance. Lines 9 and 223.

    That worked.
    Just rename that function (Line #9) and update where it is called (Line #223).

    Thanks Bonaldi

    For me I fixed it via PHP version upgrade from 5.6.x to 7.1.x

    Thank you for the fix, Bonaldi.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘syntax error, unexpected ‘print’ (T_PRINT) – welcome-panel.php’ is closed to new replies.