verbb / comments

A Craft CMS plugin for managing comments directly within the CMS.
Other
137 stars 35 forks source link

PHP Compile Error updating to 2.0.2 #258

Closed AndrewMac closed 2 years ago

AndrewMac commented 2 years ago

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

engram-design commented 2 years ago

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

ghost commented 2 years ago

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