PHP notice generated when GET request contains “m” parameter
-
I’m maintaining WordPress website that is:
* WordPress 5.5.1
* Slim SEO 3.6.0
* PHP 7.3
* Based on Roots BedrockWhen malicious bot scans website for URL that contains “?m=” parameter Slim SEO triggers PHP notice.
For example, URL
https://www.example.com/?a=login&c=index&dosubmit=1&m=admin
will generate following notice:Notice: Trying to get property 'post_excerpt' of non-object in /xxx/plugins/slim-seo/src/MetaTags/Description.php on line 72 Notice: Trying to get property 'post_content' of non-object in /xxx/plugins/slim-seo/src/MetaTags/Description.php on line 72
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘PHP notice generated when GET request contains “m” parameter’ is closed to new replies.