verbb / comments

A Craft CMS plugin for managing comments directly within the CMS.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PHP Compile Error updating to 2.0.2

AndrewMac opened this issue · comments

Describe the bug

I have attempted to update to Comments 2.0.2 on my local site, but when I run the "craft up" command I get the following error:

> @php craft install/check && php craft up || return 0
PHP Compile Error 'yii\base\ErrorException' with message 'Cannot use Throwable as Throwable because the name is already in use'

in /var/www/html/vendor/verbb/comments/src/services/Comments.php:38

Stack trace:
#0 [internal function]: yii\base\ErrorHandler->handleFatalError()
#1 {main}

Steps to reproduce

  1. Use composer to update to Comments 2.0.2
  2. Run "php craft up"

Craft CMS version

4.2.4 Pro

Plugin version

Update 2.0.1 to 2.0.2

Multi-site?

Yes

Additional context

No response

Sorry about this, still trying to get used to this new Git merge tool. Fixed in 2.0.2.1

Thanks so much, once again. I'm always so impressed by how quick you are to get to these things! :-)