Title: Site technical problem &#8211; PHP update error triggered
Last modified: August 20, 2021

---

# Site technical problem – PHP update error triggered

 *  Resolved [clairedelune](https://wordpress.org/support/users/clairedelune/)
 * (@clairedelune)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/site-technical-problem-php-update-error-triggered/)
 * Good morning
 * A few days ago I updated the PHP version on my server to the latest version. 
   After that update I started getting an error message and couldn’t log into my
   admin panel and I received the following error message:
 *     ```
       When seeking help with this issue, you may be asked for some of the following information:
       WordPress version 5.8
       Current theme: GeneratePress (version 3.0.4)
       Current plugin: Search Regex (version 2.4.1)
       PHP version 8.0.3
   
       Error Details
       =============
       An error of type E_PARSE was caused in line 322 of the file /home/************/public_html/wp-content/plugins/search-regex/models/search.php. Error message: syntax error, unexpected token "::", expecting "("
       ```
   
 * Could you please advise in the above and also let me know when the compatibility
   update will be released as I am still getting the WordPress plugin compatibility
   warning on the installed plugin page.
 * With many thanks in advance ~ have a nice day. 🙂

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [clairedelune](https://wordpress.org/support/users/clairedelune/)
 * (@clairedelune)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/site-technical-problem-php-update-error-triggered/#post-14844912)
 * ?? How is this progressing?
 *  Plugin Author [John Godley](https://wordpress.org/support/users/johnny5/)
 * (@johnny5)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/site-technical-problem-php-update-error-triggered/#post-14861692)
 * See details here: [https://wordpress.org/support/topic/php-8-compatibility-13/](https://wordpress.org/support/topic/php-8-compatibility-13/)

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Site technical problem – PHP update error triggered’ is closed to new
replies.

 * ![](https://ps.w.org/search-regex/assets/icon-256x256.jpg?rev=1030025)
 * [Search Regex](https://wordpress.org/plugins/search-regex/)
 * [Support Threads](https://wordpress.org/support/plugin/search-regex/)
 * [Active Topics](https://wordpress.org/support/plugin/search-regex/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/search-regex/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/search-regex/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [John Godley](https://wordpress.org/support/users/johnny5/)
 * Last activity: [4 years, 8 months ago](https://wordpress.org/support/topic/site-technical-problem-php-update-error-triggered/#post-14861692)
 * Status: resolved