# Not able to login using WP-admin on "ALL" my sites

**URL:** <https://community.localwp.com/t/not-able-to-login-using-wp-admin-on-all-my-sites/40759>\
**Category:** Support\
**Created:** [January 9, 2024, 6:34am UTC](https://community.localwp.com/t/not-able-to-login-using-wp-admin-on-all-my-sites/40759 "2024-01-09T06:34:14Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![aqwut](https://avatars.discourse-cdn.com/v4/letter/a/d26b3c/32.png) [@aqwut](https://community.localwp.com/u/aqwut)\
**Post date:** [January 9, 2024, 6:34am UTC](https://community.localwp.com/t/not-able-to-login-using-wp-admin-on-all-my-sites/40759/1 "2024-01-09T06:34:14Z")

</div>

### What issue or error are you experiencing?

## Not able to login using WP-admin on “ALL” my sites. The site loads up, but not able to make any changes.

### What steps can be taken to replicate the issue? Feel free to include screenshots, videos, etc

1. I have tried switching between nginx & apache, I have tried all PHP versions from 8.3.0 down to 7.3.5.
2. I have tried 4 different web browsers firefox, brave, chrome, bing

* * *

### System Details

- **Local Version:**  
8.2.0
- **Operating System (OS) and OS version:**  
Windows 11

* * *

### My Error Message.

**Fatal error** : Array and string offset access syntax with curly braces is no longer supported in **C:\Users\GamePC\Local Sites\feco-hub\app\public\wp-admin\index.php** on line **2**

---

<div class="post-metadata">

**Author:** ![austinwendt](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/austinwendt/32/13912_2.png) [@austinwendt](https://community.localwp.com/u/austinwendt)\
**Post date:** [January 9, 2024, 3:49pm UTC](https://community.localwp.com/t/not-able-to-login-using-wp-admin-on-all-my-sites/40759/2 "2024-01-09T15:49:51Z")

</div>

Hi @aqwut - thanks for reaching out!

Where do you see that error message appear? Can you share our Local logs with us so we can take a deeper look? [Retrieve Local’s Log File - Local](https://localwp.com/help-docs/troubleshooting/retrieving-locals-log-file/)

> **Fatal error** : Array and string offset access syntax with curly braces is no longer supported in **C:\Users\GamePC\Local Sites\feco-hub\app\public\wp-admin\index.php** on line **2**

If you open this file, `wp-admin/index.php`, can you share line 2? Have you made any changes to the index.php file?

---

<div class="post-metadata">

**Author:** ![aqwut](https://avatars.discourse-cdn.com/v4/letter/a/d26b3c/32.png) [@aqwut](https://community.localwp.com/u/aqwut)\
**Post date:** [January 10, 2024, 6:12pm UTC](https://community.localwp.com/t/not-able-to-login-using-wp-admin-on-all-my-sites/40759/3 "2024-01-10T18:12:49Z")

</div>

Hi Austinwendt, It appears when I open the site. LocalWP modified all the index.php files for each one of my local websites for whatever reason. I have somewhat solved it by removing the line 2 in the index.php files. LocalWP seem to have added the following onto line 2 of the index.php : \*\* I have attached a copy of that too.

When I deleted that, it worked. this was added to every single LocalWP site I had.  
[index - Copy.zip](https://community.localwp.com/uploads/short-url/7NIEBL65W3nknOuixDkTEduaRyn.zip) (4.3 KB)

[local-lightning-verbose2.log](https://community.localwp.com/uploads/short-url/u1fdFDQpgHw533tKzfeZr5H6fBu.log) (1.0 MB)

---

<div class="post-metadata">

**Author:** ![system](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/system/32/1_2.png) [@system](https://community.localwp.com/u/system)\
**Post date:** [April 9, 2024, 6:12pm UTC](https://community.localwp.com/t/not-able-to-login-using-wp-admin-on-all-my-sites/40759/4 "2024-04-09T18:12:56Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
