Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP Exception #19

Open
joeworkman opened this issue May 11, 2020 · 7 comments
Open

PHP Exception #19

joeworkman opened this issue May 11, 2020 · 7 comments

Comments

@joeworkman
Copy link

Ever since updating to v2.1.7, I have been getting the following error in my Humhub instance and its actually been making my cron jobs file.

PHP Warning 'yii\base\ErrorException' with message 'call_user_func() expects parameter 1 to be a valid callback, class 'humhub\modules\updater\Events' not found'

in /home/joeworkman/websites/community.weavers.space/protected/vendor/yiisoft/yii2/base/Event.php:312
@joeworkman
Copy link
Author

@luke-
Copy link
Contributor

luke- commented May 20, 2020

Hmm, I cannot reproduce this problem. Are you using the latest updater version? Can you reinstall the module?

@joeworkman
Copy link
Author

I installed the module again and noticed that 1.5.2 got released today. It fixes some important things for me so I tried to update. :(

https://community.humhub.com/content/perma?id=218171

@luke-
Copy link
Contributor

luke- commented May 20, 2020

Did the problem occur again or is it fixed in the new version?

@joeworkman
Copy link
Author

I have not seen the error yet. I will have a look at the logs again tomorrow and let you know.

@joeworkman
Copy link
Author

It's still happening. And the cron job warning in my dashboard is back...

yii\base\ErrorException: call_user_func() expects parameter 1 to be a valid callback, class 'humhub\modules\updater\Events' not found in /home/joeworkman/websites/community.weavers.space/protected/vendor/yiisoft/yii2/base/Event.php:312 Stack trace: #0 [internal function]: yii\base\ErrorHandler->handleError() #1 /home/joeworkman/websites/community.weavers.space/protected/vendor/yiisoft/yii2/base/Event.php(312): call_user_func() #2 /home/joeworkman/websites/community.weavers.space/protected/vendor/yiisoft/yii2/base/Component.php(636): yii\base\Event::trigger() #3 /home/joeworkman/websites/community.weavers.space/protected/humhub/commands/CronController.php(130): yii\base\Component->trigger() #4 /home/joeworkman/websites/community.weavers.space/protected/humhub/commands/CronController.php(55): humhub\commands\CronController->runDaily() #5 [internal function]: humhub\commands\CronController->actionRun() #6 /home/joeworkman/websites/community.weavers.space/protected/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array() #7 /home/joeworkman/websites/community.weavers.space/protected/vendor/yiisoft/yii2/base/Controller.php(157): yii\base\InlineAction->runWithParams() #8 /home/joeworkman/websites/community.weavers.space/protected/vendor/yiisoft/yii2/console/Controller.php(164): yii\base\Controller->runAction() #9 /home/joeworkman/websites/community.weavers.space/protected/vendor/yiisoft/yii2/base/Module.php(528): yii\console\Controller->runAction() #10 /home/joeworkman/websites/community.weavers.space/protected/vendor/yiisoft/yii2/console/Application.php(180): yii\base\Module->runAction() #11 /home/joeworkman/websites/community.weavers.space/protected/vendor/yiisoft/yii2/console/Application.php(147): yii\console\Application->runAction() #12 /home/joeworkman/websites/community.weavers.space/protected/vendor/yiisoft/yii2/base/Application.php(386): yii\console\Application->handleRequest() #13 /home/joeworkman/websites/community.weavers.space/protected/yii(29): yii\base\Application->run() #14 {main}

@luke-
Copy link
Contributor

luke- commented May 27, 2020

Hmm, I cannot reproduce this problem...

Can you please execute:

cd protected
php yii module/list 

Do you have any other problems with your Humhub installation?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants