You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
Repository navigation
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
Related to the package netresearch/jsonmapper as a dependency from felixfbecker/language-server.
It is required as follow: "netresearch/jsonmapper": "^1.0" .
Regarding to the composer.lock it has been released with the v1.4.0 but many fixes on 1.x branch exists now (last release is 1.6.0)
So the solution is to do a composer update or force >=1.6.0 on the root package and then composer install.
Finally, republish the plugin.
Can confirm this bug. Happened right after I updated to PHP 8.
You can fix this way but you’re changing an old vendor library. There are other fixes of you just use composer to update the plugin on the « riche way » (composer update)
Can confirm this bug. Happened right after I updated to PHP 8.
You can fix this way but you’re changing an old vendor library. There are other fixes of you just use composer to update the plugin on the « riche way » (composer update)
Yes, you're right. That was only a workaround, becouse I got a lot of other errors related to PHP version.
Again, you're right. For the questions of time, I used that workaround. Later, I will use the right way.
I still have the same error.
I'm pasting it for SEO :
DEBUG The xdebug extension is not loaded
DEBUG Listening on STDIN
PHP Fatal error: Array and string offset access syntax with curly braces is no longer supported in /home/logan/.atom/packages/ide-php/vendor/netresearch/jsonmapper/src/JsonMapper.php on line 300
PHP Fatal error: Array and string offset access syntax with curly braces is no longer supported in /home/logan/.atom/packages/ide-php/vendor/netresearch/jsonmapper/src/JsonMapper.php on line 300
-Visit https://github.com/cweiske/jsonmapper
-Go to src/JsonMapper.php ( there u will see a 'Add support for PHP 8.0' banner =) )
-Copy the entire getFullNamespace (line 329 to 341)
Till the pull request its done officially this will do the job perfectly #158
Activity
Kaczuc commentedon Dec 17, 2020
New error

donaldinou commentedon Jan 15, 2021
Related to the package
netresearch/jsonmapperas a dependency fromfelixfbecker/language-server.It is required as follow:
"netresearch/jsonmapper": "^1.0".Regarding to the composer.lock it has been released with the v1.4.0 but many fixes on 1.x branch exists now (last release is 1.6.0)
So the solution is to do a
composer updateor force >=1.6.0 on the root package and thencomposer install.Finally, republish the plugin.
Related to the pull request:
#158
ErvinSabic commentedon Jan 29, 2021
Can confirm this bug. Happened right after I updated to PHP 8.

Ritotsume commentedon Feb 11, 2021
I fixed this in this way:
Open JsonMapper.php (I use Archlinux):
$HOME/.atom/packages/ide-php/vendor/netresearch/jsonmapper/src/JsonMapper.phpAnd change this on line 300:
Restart Atom and the error is gone. For me worked. I hope this help you.
Edit:
Only remember of change things properly later, like @donaldinou say above (via composer update).
donaldinou commentedon Feb 11, 2021
You can fix this way but you’re changing an old vendor library. There are other fixes of you just use composer to update the plugin on the « riche way » (composer update)
Ritotsume commentedon Feb 11, 2021
Yes, you're right. That was only a workaround, becouse I got a lot of other errors related to PHP version.
Again, you're right. For the questions of time, I used that workaround. Later, I will use the right way.
LoganTann commentedon Jul 18, 2021
I still have the same error.
I'm pasting it for SEO :
cricketmon commentedon Feb 1, 2022
My solution was this after upgrading to php@8:
-Visit https://github.com/cweiske/jsonmapper
-Go to src/JsonMapper.php ( there u will see a 'Add support for PHP 8.0' banner =) )
-Copy the entire getFullNamespace (line 329 to 341)
Till the pull request its done officially this will do the job perfectly
#158