Array and string offset access syntax with curly braces is deprecated
Array and string offset access syntax with curly braces is deprecated is an error generated by the Google SDK in the last year with PHP 7.4. I have tried many times to update their SDK but always the support missing for PHP 7.4. Midrub can run on PHP 7.4. The problem is in its dependencies.
You could fix the error in the file vendor/google/src/service/Google_Utils.php at line 58. Instead the braces {} use []. In the next week(21/02 - 28/02) i will test more to detect where are used these braces and will fix this on CodeCanyon's version. The problem will be still for users which have already downloaded it.
Below i will add the list with files where should be replaced these braces to be supported by PHP 7.4 +
- vendor/google/src/service/Google_Utils.php at line 58. Instead the braces {} use []
- vendor/abraham/twitteroauth/src/SignatureMethod.php at line 61. Instead the braces {} use []
Suggested Articles
- Array and string offset access syntax with curly braces is deprecated
- Module 'sqlite3' already loaded
- How to create plans with multiple periods in Midrub
- How to improve the server performance for Midrub
- How to easy install Midrub
- Why you can't create pages for Frontend in Midrub
- Why a user can't delete his account
- How to change the menu's icons in Midrub
- How to configure the plans in Midrub
- How to change the website's name in Midrub