WordPress Code Snippet Crashed My Site

Error Message:

ParseError thrown

syntax error, unexpected ‘$’, expecting variable (T_VARIABLE)

Resolution:

1. If still login to the site as Admin, call the safe-mode method via the site’s URL: https://kimconnect.com/wp-admin/admin.php?page=snippets&snippets-safe-mode=true

2. If Admin login session has expired or one cannot login add: define('CODE_SNIPPETS_SAFE_MODE', true); to wp-config.php

Leave a Reply

Your email address will not be published. Required fields are marked *