Skip to content
Grav 2.1 is out: every page speaks Markdown. Read the announcement →

Gpm update failing

Started by Muut Archive 12 years ago · 3 replies · 453 views
12 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?

12 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 2275 9 years ago
Archive · by Muut Archive, 9 years ago
2 1496 9 years ago
Archive · by Muut Archive, 9 years ago
2 4743 9 years ago
Archive · by Muut Archive, 9 years ago
1 3553 9 years ago
Archive · by Muut Archive, 9 years ago
3 1618 9 years ago