Deprecated: Return type of GeoIp2\Model\AbstractModel::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/u126274411/domains/rmweblab.com/public_html/wp-content/plugins/iq-block-country/vendor/geoip2/geoip2/src/Model/AbstractModel.php on line 63

Deprecated: Return type of GeoIp2\Record\AbstractRecord::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/u126274411/domains/rmweblab.com/public_html/wp-content/plugins/iq-block-country/vendor/geoip2/geoip2/src/Record/AbstractRecord.php on line 57
Ajax Error | RM Web Lab

Tag: Ajax Error

  • WordPress Ajax action conflicts with redirect restrictions

    WordPress ajax action not working when we add admin_init redirect action in wrong way. To make it work we must need to add condition to exclude ajax file like ($_SERVER[‘PHP_SELF’] != ‘/wp-admin/admin-ajax.php’) Below code is working well to exclude all non administrator redirect to my-account page and ajax action is working well.