Title: PHP Deprecated &#8211; PHP 8.0
Last modified: November 7, 2022

---

# PHP Deprecated – PHP 8.0

 *  Resolved [loorlab](https://wordpress.org/support/users/loorlab/)
 * (@loorlab)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/php-deprecated-php-8-0/)
 * Hi Folks, We have found in the logs of a site that uses GiveWP the following 
   notifications:
 *     ```
       [07-Nov-2022 17:00:07 UTC] PHP Deprecated:  Required parameter $meta_value follows optional parameter $meta_key in /path/wp-content/plugins/give/includes/class-give-donor.php on line 1089
       [07-Nov-2022 17:00:07 UTC] PHP Deprecated:  Required parameter $meta_value follows optional parameter $meta_key in /path/wp-content/plugins/give/includes/class-give-donor.php on line 1105
       [07-Nov-2022 17:00:07 UTC] PHP Deprecated:  Required parameter $form_id follows optional parameter $nonce in /path/wp-content/plugins/give/includes/formatting.php on line 794
       [07-Nov-2022 17:00:07 UTC] PHP Deprecated:  Required parameter $payment_id follows optional parameter $form_id in /path/wp-content/plugins/give/includes/deprecated/deprecated-functions.php on line 488
       [07-Nov-2022 17:00:07 UTC] PHP Deprecated:  Required parameter $payment_id follows optional parameter $give_form_id in /path/wp-content/plugins/give/includes/deprecated/deprecated-functions.php on line 549
       [07-Nov-2022 17:00:07 UTC] PHP Deprecated:  Required parameter $amount follows optional parameter $form_id in /path/wp-content/plugins/give/includes/deprecated/deprecated-functions.php on line 780
       ```
   
 * Info:
    WP 6.1 PHP Version 8.0.2 GiveWP – Donation Plugin – Versión 2.23.1
 * We greatly appreciate your support.
 * ⚡

Viewing 1 replies (of 1 total)

 *  Plugin Support [Matheus Martins](https://wordpress.org/support/users/matheusfd/)
 * (@matheusfd)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/php-deprecated-php-8-0/#post-16182776)
 * Hey, [@loorlab](https://wordpress.org/support/users/loorlab/).
 * Glad you reached out about this, I can help explain what you are seeing. Deprecation
   notices like the ones you are seeing are just a “heads up” notice for developers
   to fix or update something for a future release. These notices are different 
   from error messages. Error messages would mean something is broken, where a notice
   is just information-sharing. The good news here is that nothing is broken on 
   the site, we just need to turn off those deprecation messages for you.
 * We are keeping an eye on these notices here: [https://feedback.givewp.com/bug-reports/p/givewp-throws-several-deprecation-notices-in-php8](https://feedback.givewp.com/bug-reports/p/givewp-throws-several-deprecation-notices-in-php8).
   You can use this post to check in for updates, or to provide any details you 
   would like for our teams to have as they investigate a fix. I’ve linked your 
   ticket to that post so we can reach back out with an update for you.
 * In the meantime, I have a couple of solutions to turn off those notices:
 * 1. Roll back your PHP version to 7.4. Those notices pop up when folks are using
   PHP version 8.0. Rolling back won’t cause any harm to your site, and it is a 
   quick way to eliminate those notices.
 * 2. You can also eliminate those messages by turning off the debug display.
 * If you’re not familiar with WP_DEBUG, you need to edit your wp-config.php file:
   //
   Turn debugging on define(‘WP_DEBUG’, true);
 * // Tell WordPress to log everything to /wp-content/debug.log
    define(‘WP_DEBUG_LOG’,
   true);
 * // Turn off the display of error messages on your site
    define(‘WP_DEBUG_DISPLAY’,
   false);
 * That wp-config.php file is an important piece of information to have!
 * You can also choose to just leave those messages in place. They aren’t an indication
   of any trouble, and if you’d rather just leave them be that is perfectly fine!
 * Let me know if you have any questions about this along the way, I’m happy to 
   help.

Viewing 1 replies (of 1 total)

The topic ‘PHP Deprecated – PHP 8.0’ is closed to new replies.

 * ![](https://ps.w.org/give/assets/icon-256x256.jpg?rev=2873287)
 * [GiveWP - Donation Plugin and Fundraising Platform](https://wordpress.org/plugins/give/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/give/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/give/)
 * [Active Topics](https://wordpress.org/support/plugin/give/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/give/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/give/reviews/)

## Tags

 * [givewp](https://wordpress.org/support/topic-tag/givewp/)

 * 1 reply
 * 2 participants
 * Last reply from: [Matheus Martins](https://wordpress.org/support/users/matheusfd/)
 * Last activity: [3 years, 7 months ago](https://wordpress.org/support/topic/php-deprecated-php-8-0/#post-16182776)
 * Status: resolved