Title: Php warning
Last modified: May 8, 2022

---

# Php warning

 *  Resolved [Jeffinho2016](https://wordpress.org/support/users/jeffinho2016/)
 * (@jeffinho2016)
 * [4 years ago](https://wordpress.org/support/topic/php-warning-357/)
 * Just did the jump from PHP7.4 to PHP8.1
    I’m on the latest version of WP All-
   in-one (4.4.12) and on the latest WP version (5.9.3). I use the rename login 
   page feature. I get the error PHP Warning: Trying to access array offset on value
   of type bool in /home/xxxxxx/public_html/wp-content/plugins/all-in-one-wp-security-
   and-firewall/classes/wp-security-process-renamed-login-page.php on line 211′
 * Here’s what the access log shows when the error triggerd:
 * > [View post on imgur.com](https://imgur.com/KvF2a6y)

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Support [vupdraft](https://wordpress.org/support/users/vupdraft/)
 * (@vupdraft)
 * [4 years ago](https://wordpress.org/support/topic/php-warning-357/#post-15627976)
 * Can you try removing the version of the plugin that you have and then downloading
   it again?
 *  Thread Starter [Jeffinho2016](https://wordpress.org/support/users/jeffinho2016/)
 * (@jeffinho2016)
 * [4 years ago](https://wordpress.org/support/topic/php-warning-357/#post-15628648)
 * This has nothing to do with the way the plugin is installed.
    As you can see 
   in the access.log screenshot, the error is triggered when bots try to access 
   URIs that begin with a // So when you do $parsed_url = parse_url($_SERVER[‘REQUEST_URI’]);
   on line 186. If the URI begins with a double slash // (which can happen with 
   bots), the parse_url function will assume that the path is the host. See this
   code snippet: [https://onlinephp.io?s=s7EvyCjg5VIpLco0tFXXr8jNKSpI1gOKqVtDRI2AomjCZYlF8SmluQUaBYlFxanxpUU5GmD9mjqoAkaamtYA&v=8.1.5](https://onlinephp.io?s=s7EvyCjg5VIpLco0tFXXr8jNKSpI1gOKqVtDRI2AomjCZYlF8SmluQUaBYlFxanxpUU5GmD9mjqoAkaamtYA&v=8.1.5)
 *  Plugin Support [vupdraft](https://wordpress.org/support/users/vupdraft/)
 * (@vupdraft)
 * [4 years ago](https://wordpress.org/support/topic/php-warning-357/#post-15636595)
 * Hi,
 * I have passed this onto our development team to review
 *  Plugin Contributor [Prashant Baldha](https://wordpress.org/support/users/pmbaldha/)
 * (@pmbaldha)
 * [4 years ago](https://wordpress.org/support/topic/php-warning-357/#post-15683828)
 * Hi, We have resolved the issue and you get resolution in the next release.
 * Thanks for reporting the issue.
 *  [School2005](https://wordpress.org/support/users/hele2005/)
 * (@hele2005)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/php-warning-357/#post-15871320)
 * Hi, I have the same problem. have not solved?

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Php warning’ is closed to new replies.

 * ![](https://ps.w.org/all-in-one-wp-security-and-firewall/assets/icon-256x256.
   png?rev=2798307)
 * [All-In-One Security (AIOS) – Security and Firewall](https://wordpress.org/plugins/all-in-one-wp-security-and-firewall/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/all-in-one-wp-security-and-firewall/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/)
 * [Active Topics](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/reviews/)

 * 5 replies
 * 4 participants
 * Last reply from: [School2005](https://wordpress.org/support/users/hele2005/)
 * Last activity: [3 years, 10 months ago](https://wordpress.org/support/topic/php-warning-357/#post-15871320)
 * Status: resolved