I tried to clone our online WordPress website to localhost (using XAMPP) by following this tutorial: <a href="https://looks-awesome.com/copying-live-wordpress-site-localhost" rel="nofollow noreferrer">https://looks-awesome.com/copying-live-wordpress-site-localhost</a>
Everything was easy to understand and went smoothly until I tried to load the website. Whenever I try to open index.php or wp-admin I am shown this error:
"Fatal error: Uncaught Error: [] operator not supported for strings in C:\xampp\htdocs..." . It references php files for different themes and plugins.
After navigating to the PHP code in question it does indeed seem that the [] operator is being used on strings. Why does this all work fine on our live website but not locally? Is there a way to troubleshoot and fix this?
Thank you for your time!
Everything was easy to understand and went smoothly until I tried to load the website. Whenever I try to open index.php or wp-admin I am shown this error:
"Fatal error: Uncaught Error: [] operator not supported for strings in C:\xampp\htdocs..." . It references php files for different themes and plugins.
After navigating to the PHP code in question it does indeed seem that the [] operator is being used on strings. Why does this all work fine on our live website but not locally? Is there a way to troubleshoot and fix this?
Thank you for your time!