Skip to content
Grav 2.0 is officially stable. Read the announcement →
Archive

Gpm update failing

Started by Muut Archive 11 years ago · 3 replies · 361 views
11 years ago

Hi, I'm just trying to update from 0.9.15 to the latest 0.9.19.

I ran "bin/gpm selfupgrade" which seemed to work OK.
Next when I try "bin/gpm update" to update the plugins I get this:
Fatal error: Access level to Grav\Plugin\JSCommentsPlugin::mergeConfig() must be protected (as in class Grav\Common\Plugin) or weaker in /Users/cogamble/Sites/swiftlyandwithstyle.net/user/plugins/jscomments/ jscomments.php on line 125
Whoops\Exception\ErrorException: Access level to Grav\Plugin\JSCommentsPlugin::mergeConfig() must be protected (as in class Grav\Common\Plugin) or weaker in file /Users/cogamble/Sites/swiftlyandwithstyle.net/user/plugins/jscomments/ jscomments.php on line 125
Stack trace:

  1. () /Users/cogamble/Sites/swiftlyandwithstyle.net/user/plugins/jscomments/ jscomments.php:125

Any ideas?

11 years ago

OK it's because we implemented our own mergeConfig() method in recent versions of Grav, and the JSComments plugin is the version prior to this fix.

I think you should be able to resolve this by deleting the user/plugins/jscomments folder and then reinstalling it via gpm: bin/gpm install jscomments

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 1323 9 years ago
Archive · by Muut Archive, 9 years ago
2 919 9 years ago
Archive · by Muut Archive, 9 years ago
2 4048 9 years ago
Archive · by Muut Archive, 9 years ago
1 2923 9 years ago
Archive · by Muut Archive, 9 years ago
3 1106 9 years ago