error on PHP 8.2 (API v2 GET method)
-
I working on API v2 of your plugin and I noticed that if the server using PHP 8.2 a php error occur while using GET method.
<br /> <b>Deprecated</b>: Creation of dynamic property NewsletterApi::$key is deprecated in <b>/home/XXXXXXX/domains/xxxxxxxx.xxx/public_html/wp-content/plugins/newsletter-api/plugin.php</b> on line <b>132</b><br />Query URL:
https://xxxxxxxx.xxx/wp-json/newsletter/v2/subscribers/username@domain.com?client_key=XXXXXXXXXXX&client_secret=XXXXXXXXXXXXXXResult:
{"id":8,"email":"username@domain.com","first_name":"","last_name":"","gender":null,"country":"","region":"","city":"","lists":[],"extra_fields":[],"status":"confirmed"}On PHP 8.1 no error.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘error on PHP 8.2 (API v2 GET method)’ is closed to new replies.
