Gpm update failing

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?

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

Yep, that did it thanks.

cool :slight_smile: