Answers.Body: <p>Something in your Craft build is not compatible with PHP 7.4.</p>
  <p>Craft core became PHP 7.4 compatible in v. 2.8.0, so make sure you're on at least that version – ideally, you should update to the latest version (2.9.2).</p>
  <p>If the error still occurs on Craft 2.8+, the culprit is going to be a plugin. To find the cuplrit, you'll need to check your logs (either <code>craft.log</code> or <code>phperrors.log</code> in the <code>craft/storage/runtime/logs</code> directory, should have some additional info and hopefully a stack trace). Alternatively, you can (temporarily!) enable <a href="https://craftcms.com/docs/2.x/config-settings.html#devmode" rel="nofollow noreferrer"><code>devMode</code></a>, which should give you a full in-browser stack trace when the error occurs.</p>
  <p>If/when you find the offending plugin, you'll need to hunt down an updated version for it that is PHP 7.4 compatible. If an updated version doesn't exist, you'll either need to fix the compatibility issue yourself, or downgrade PHP to the oldest compatible version.</p>
  <p>In any case, you should probably consider upgrading your site to Craft 3 or 4 as soon as possible, considering Craft 2 has been EOL since January 2022.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-11-09T17:55:29.140Z
Answers.LastActivityDate: 2022-11-09T17:55:29.140Z
Answers.UserDisplayName: Mats Mikkel Rummelhoff
Body: <p>We updated our PHP from 7.2 to 7.4 and are now getting an &quot;Internal Servor Error&quot; when someone uses our Request a Quote form. Please help!
  <a href="https://i.sstatic.net/guJ0d.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/guJ0d.png" alt="enter image description here" /></a></p>
  <p>We use Hubspot to send the leads to our email if that's important.</p>
  
Tags: <craft2>
Title: We updated our PHP from 7.2 to 7.4 and are now getting an "Internal Servor Error" when someone uses our Request a Quote form. Please help!
ThreadText: # We updated our PHP from 7.2 to 7.4 and are now getting an "Internal Servor Error" when someone uses our Request a Quote form. Please help!
  
  (Asked by: username_0 on 2022-11-09)
  
  We updated our PHP from 7.2 to 7.4 and are now getting an "Internal Servor Error" when someone uses our Request a Quote form. Please help!
  [![enter image description here](https://i.sstatic.net/guJ0d.png)](https://i.sstatic.net/guJ0d.png)
  
  We use Hubspot to send the leads to our email if that's important.
  
  **Tags:** craft2
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2022-11-09. Score: 1 | Accepted answer
  
  Something in your Craft build is not compatible with PHP 7.4.
  
  Craft core became PHP 7.4 compatible in v. 2.8.0, so make sure you're on at least that version – ideally, you should update to the latest version (2.9.2).
  
  If the error still occurs on Craft 2.8+, the culprit is going to be a plugin. To find the cuplrit, you'll need to check your logs (either `craft.log` or `phperrors.log` in the `craft/storage/runtime/logs` directory, should have some additional info and hopefully a stack trace). Alternatively, you can (temporarily!) enable [`devMode`](https://craftcms.com/docs/2.x/config-settings.html#devmode), which should give you a full in-browser stack trace when the error occurs.
  
  If/when you find the offending plugin, you'll need to hunt down an updated version for it that is PHP 7.4 compatible. If an updated version doesn't exist, you'll either need to fix the compatibility issue yourself, or downgrade PHP to the oldest compatible version.
  
  In any case, you should probably consider upgrading your site to Craft 3 or 4 as soon as possible, considering Craft 2 has been EOL since January 2022.
  
  
  ---
  
  