# \#php-error

**URL:** https://community.localwp.com/tag/php-error/103.md

[Latest](https://community.localwp.com/latest.md) · [Categories](https://community.localwp.com/categories.md) · [Tags](https://community.localwp.com/tags.md)

---

## [Is a local/native install of PHP/MySQL required for XDebug (on MacOS)?](https://community.localwp.com/t/is-a-local-native-install-of-php-mysql-required-for-xdebug-on-macos/45364)

<div class="topic-metadata">

**Author:** [@g\_dub](https://community.localwp.com/u/g_dub)\
**Replies:** 3\
**Last updated:** [November 5, 2024, 4:23pm UTC](https://community.localwp.com/t/is-a-local-native-install-of-php-mysql-required-for-xdebug-on-macos/45364 "2024-11-05T16:23:08Z")

</div>

Hi… I’m used to running WordPress on Docker, but wanted to try LocalWP. OOTB the install and setup work seamlessly… I’m a bit confused about ‘where is the PHP executable’ though… is it accessible from outside localWP? …

---

## [Fatal error: .../video.php one line 334](https://community.localwp.com/t/fatal-error-video-php-one-line-334/42500)

<div class="topic-metadata">

**Author:** [@ashcom](https://community.localwp.com/u/ashcom)\
**Replies:** 9\
**Last updated:** [April 23, 2024, 12:44pm UTC](https://community.localwp.com/t/fatal-error-video-php-one-line-334/42500 "2024-04-23T12:44:26Z")

</div>

What issue or error are you experiencing? I have a “Fatal error” on the home page of my local site so I cannot access it. What steps can be taken to replicate the issue? Feel free to include screenshots, videos, etc scr…

---

## [Sudden PHP configuration error on VS Code](https://community.localwp.com/t/sudden-php-configuration-error-on-vs-code/38779)

<div class="topic-metadata">

**Author:** [@Leta](https://community.localwp.com/u/Leta)\
**Replies:** 8\
**Last updated:** [October 10, 2023, 2:23pm UTC](https://community.localwp.com/t/sudden-php-configuration-error-on-vs-code/38779 "2023-10-10T14:23:43Z")

</div>

What issue or error are you experiencing? “Cannot validate since a PHP installation could not be found. Use the setting ‘php.validate.executablePath’ to configure the PHP executable.” What steps can be taken to replica…

---

## [Error installing WordPress for site](https://community.localwp.com/t/error-installing-wordpress-for-site/37743)

<div class="topic-metadata">

**Author:** [@Ayesha](https://community.localwp.com/u/Ayesha)\
**Replies:** 2\
**Last updated:** [June 26, 2023, 3:27pm UTC](https://community.localwp.com/t/error-installing-wordpress-for-site/37743 "2023-06-26T15:27:34Z")

</div>

Issue Summary \_when i try to make a new site this error is showing, so when i try to open my site in browser it shows 502 Bad Gateway error. Troubleshooting Questions Does this happen for all sites in Local, or jus…

---

## ["Failed loading" warnings explained and solutions](https://community.localwp.com/t/failed-loading-warnings-explained-and-solutions/35098)

<div class="topic-metadata">

**Author:** [@TonyGman](https://community.localwp.com/u/TonyGman)\
**Replies:** 1\
**Last updated:** [January 12, 2023, 6:20pm UTC](https://community.localwp.com/t/failed-loading-warnings-explained-and-solutions/35098 "2023-01-12T18:20:26Z")

</div>

Many people report variations of the warning/error messages below. I’m explaining here what causes this, how to fix it quickly, and what WP Engine can do to address it in Local. PHP Warning: Failed loading Zend extensio…

---

## [PHP Warnings](https://community.localwp.com/t/php-warnings/31321)

<div class="topic-metadata">

**Author:** [@kiwi-dave](https://community.localwp.com/u/kiwi-dave)\
**Replies:** 0\
**Last updated:** [April 19, 2022, 5:41am UTC](https://community.localwp.com/t/php-warnings/31321 "2022-04-19T05:41:47Z")

</div>

I have imported a site into Local using All In One WP Migration. The site displays correctly, but I can’t login at /wp-admin due to php errors. I’m running the latest Local 6.3.1 on a mac running Monteray 12.2.1 Any…

---

## [Fatal error : Cannot access offset of type string on string in "class-wp-roles.php" on line 290](https://community.localwp.com/t/fatal-error-cannot-access-offset-of-type-string-on-string-in-class-wp-roles-php-on-line-290/28250)

<div class="topic-metadata">

**Author:** [@Nehzyo](https://community.localwp.com/u/Nehzyo)\
**Replies:** 23\
**Last updated:** [February 9, 2022, 5:26pm UTC](https://community.localwp.com/t/fatal-error-cannot-access-offset-of-type-string-on-string-in-class-wp-roles-php-on-line-290/28250 "2022-02-09T17:26:20Z")

</div>

Hi there, Local has just updated and now I can’t access my website anymore. Here is the critical error message : Fatal error: Uncaught TypeError: Cannot access offset of type string on string in C:\\Users\\damie\\Local Sit…

---

## [New pages can't load](https://community.localwp.com/t/new-pages-cant-load/27287)

<div class="topic-metadata">

**Author:** [@luxworx.pro](https://community.localwp.com/u/luxworx.pro)\
**Replies:** 4\
**Last updated:** [August 20, 2021, 6:27pm UTC](https://community.localwp.com/t/new-pages-cant-load/27287 "2021-08-20T18:27:31Z")

</div>

I have a website downloaded from flywheel. All the pages works, could edit them and view. But then I edited one of the page template php files and made a spelling mistake in one of the wordpress functions. When viewed th…

---

## [PHP Fatal error with DiviOverlays](https://community.localwp.com/t/php-fatal-error-with-divioverlays/25462)

<div class="topic-metadata">

**Author:** [@Vladimir17](https://community.localwp.com/u/Vladimir17)\
**Replies:** 4\
**Last updated:** [May 26, 2021, 4:26pm UTC](https://community.localwp.com/t/php-fatal-error-with-divioverlays/25462 "2021-05-26T16:26:27Z")

</div>

Hi, I’m new to using Local. There is only one place on the local. I am attaching a picture. local-lightning.log (126.9 KB) Can anyone help me how to return the site to Local? Local version 5.10.3+5332 Windows 10

---

## [Erorr after updtae php 7.4](https://community.localwp.com/t/erorr-after-updtae-php-7-4/25132)

<div class="topic-metadata">

**Author:** [@mendelsphotography](https://community.localwp.com/u/mendelsphotography)\
**Replies:** 1\
**Last updated:** [April 9, 2021, 12:30am UTC](https://community.localwp.com/t/erorr-after-updtae-php-7-4/25132 "2021-04-09T00:30:29Z")

</div>

Issue Summary i was using 7.4.1 and it said about updating and i updated it and then i got this error i got 2 of these errors and now it wont even open like i can’t get to change php or do anything Troubleshooting Q…

---

## [Error with mysql when trying to create a new site. I'm new](https://community.localwp.com/t/error-with-mysql-when-trying-to-create-a-new-site-im-new/23665)

<div class="topic-metadata">

**Author:** [@simonchaconb](https://community.localwp.com/u/simonchaconb)\
**Replies:** 0\
**Last updated:** [December 31, 2020, 8:01am UTC](https://community.localwp.com/t/error-with-mysql-when-trying-to-create-a-new-site-im-new/23665 "2020-12-31T08:01:40Z")

</div>

Issue Summary I’m creating a new site and I get the error you see in the screenshot. I don’t have technical knowledge, what can I do? I was looking at similar questions in the forum but they had no answer Troublesh…

---

## [Multi-site error](https://community.localwp.com/t/multi-site-error/22209)

<div class="topic-metadata">

**Author:** [@PepperJeff](https://community.localwp.com/u/PepperJeff)\
**Replies:** 3\
**Last updated:** [October 5, 2020, 5:27pm UTC](https://community.localwp.com/t/multi-site-error/22209 "2020-10-05T17:27:11Z")

</div>

I tried to install multi-site on a current installation and ended up with this when I go to the front page of my site. Anyone can guide me as to where to problem lays? What do I need to fix it? Thanks
