Hello @khalidmazhar1264
Thank you for contacting us, AMP plugin is Compatible with PHP 7.4 we even made it compatible up to PHP 8.1
Can you please share the deprecation warning that you are seeing on the WordPress admin panel?
Also, please share your UUID by visiting AMP->Support and clicking sends data button it will generate a UUID and paste it here. so we can further investigate the issue.
Looking forward to your reply
this is the error
Deprecated: WP_User->id was called with an argument that is deprecated since version 2.1.0! Use WP_User->ID instead. in /var/www/web/wp/wp-includes/functions.php on line 5607
@khalidmazhar1264
We are not using WP_User->id the deprecated id argument anywhere.
Can you confirm that you get that warning only when AMP plugin is active?
If you send us your site data we might be able to find the plugin or theme using a deprecated argument.
@khalidmazhar1264
As we didn’t receive a response I’ll mark this as resolved. Feel free to open a new support topic if you require any further assistance.