Deprecated warnings in log
-
I’m getting this messages in my log and when executing WP-CLI:
Deprecated: Required parameter $meta_value follows optional parameter $meta_key in /wp-content/plugins/give/includes/class-give-donor.php on line 1089 Deprecated: Required parameter $meta_value follows optional parameter $meta_key in /wp-content/plugins/give/includes/class-give-donor.php on line 1105 Deprecated: Required parameter $form_id follows optional parameter $nonce in /wp-content/plugins/give/includes/formatting.php on line 794 Deprecated: Required parameter $payment_id follows optional parameter $form_id in /wp-content/plugins/give/includes/deprecated/deprecated-functions.php on line 488 Deprecated: Required parameter $payment_id follows optional parameter $give_form_id in /wp-content/plugins/give/includes/deprecated/deprecated-functions.php on line 549 Deprecated: Required parameter $amount follows optional parameter $form_id in /wp-content/plugins/give/includes/deprecated/deprecated-functions.php on line 780Please verify and fix it. I’m using PHP 8 if it helps
-
This topic was modified 4 years, 7 months ago by
fidoboy. Reason: Formatted code
-
This topic was modified 4 years, 7 months ago by
-
Hey @fidoboy,
Glad you reached out.
Can you let me know what is the PHP version you are using? Also, can you let me know which command you tried using WP-CLI?
Also, please send along your System Info.
Navigate to Donations –> Tools –> System Info (tab) and click the button to “Get System Report” and copy/paste that in your reply here.
That will give me some more context to be able to help.
The PHP version I’m using is in my first post here. I’m using PHP8 (php-fpm).
The WP-CLI command is
wp cron event run --due-now.Hope it helps
Sorry, the command giving these warnings was
wp ewwwio optimize mediaHey @fidoboy,
I think this is related to PHP 8. Can you downgrade to PHP 7.4 and let me know if it works?
Thanks for using GiveWP! Have a great day.
@matheusfd Thanks for all of your consistent hard work supporting GiveWP users.
I am curious as to GiveWP’s plans and timing for version 8 support. FWIW, the requirements section of the GieWP website says 5.6 or higher which does not preclude v8.
7.4 ends support Nov. ’22. v8 was released Nov. ’20, with v8.1 coming in a few weeks.
Hye @oregondean,
We still do not have a firm timeline for that, but our team is actively working on it.
Thanks for using GiveWP! Have a great day.
The topic ‘Deprecated warnings in log’ is closed to new replies.