StevenJoynt / HumHub-RSS-Reader

A HumHub module which imports an RSS News Feed as Posts in the Stream of a Space.
GNU General Public License v3.0
8 stars 3 forks source link

Update to Humhub 1.14.2 and RSS stopped working #24

Open Vjnm opened 1 year ago

Vjnm commented 1 year ago

Update Humhub to version 1.14.2 and these errors occurred.

I reinstalled RSS and still the same. Not sure how to proceed. Here is log. Thanks. Any help is greatly appreciated. Vinn

  1. in /var/www/humhub/protected/vendor/yiisoft/yii2/base/Component.php

line 291 */ public function __call($name, $params) { $this->ensureBehaviors(); foreach ($this->_behaviors as $object) { if ($object->hasMethod($name)) { return call_user_func_array([$object, $name], $params); } } throw new UnknownMethodException('Calling unknown method: ' . get_class($this) . "::$name()"); }

    /**
     * This method is called after the object is created by cloning an existing one.
     * It removes all behaviors because they are attached to the old object.
     */
    public function __clone()
    {

line 309 $this->_events = [];

2. in /var/www/humhub/protected/humhub/modules/rss/controllers/RssController.php at line 23 – yii\base\Component::__call()
17181920212223242526272829

line 17 Configuration Action for Space Admins / public function actionConfig() { $container = $this->contentContainer; $form = new ConfigureForm(); $form->url = $container->getSetting('url', 'rss'); $form->article = $container->getSetting('article', 'rss', 'summary'); $form->pictures = $container->getSetting('pictures', 'rss', 'yes'); $form->maxwidth = $container->getSetting('maxwidth', 'rss', '500'); $form->maxheight = $container->getSetting('maxheight', 'rss', '500'); $form->interval = $container->getSetting('interval', 'rss', '60'); line 29 $form->owner = RssController::vetOwner($container->getSetting('owner', 'rss', ''), $container)->guid;

3. sij\humhub\modules\rss\controllers\RssController::actionConfig()
4. in /var/www/humhub/protected/vendor/yiisoft/yii2/base/InlineAction.php at line 57 – call_user_func_array()
5. in /var/www/humhub/protected/vendor/yiisoft/yii2/base/Controller.php at line 178 – yii\base\InlineAction::runWithParams()
6. in /var/www/humhub/protected/vendor/yiisoft/yii2/base/Module.php at line 552 – yii\base\Controller::runAction()
7. in /var/www/humhub/protected/vendor/yiisoft/yii2/web/Application.php at line 103 – yii\base\Module::runAction()
8. in /var/www/humhub/protected/vendor/yiisoft/yii2/base/Application.php at line 384 – yii\web\Application::handleRequest()
9. in /var/www/humhub/index.php at line 25 – yii\base\Application::run()
19202122232425

    require(__DIR__ . '/protected/humhub/config/web.php'),
    (is_readable(__DIR__ . '/protected/config/dynamic.php')) ? require(__DIR__ . '/protected/config/dynamic.php') : [],
    require(__DIR__ . '/protected/config/common.php'),
    require(__DIR__ . '/protected/config/web.php')
);

(new humhub\components\Application($config))->run();

$_GET = [ 'r' => 'rss/rss/config', 'cguid' => 'dc70ccff-fb83-4cb1-b6fb-eb0eeb8b6a43', ];

$_COOKIE = [ 'PHPSESSID' => '9vtkrg4a8bhe9an4mht3nnua0r', '_csrf' => '35aff18e91de92b07af9c6bfd1be9ffb071936c168c074c8bd4c98087e94304aa:2:{i:0;s:5:"_csrf";i:1;s:32:"bP7piJdAW45avuzLkr1SFjqb3slort_n";}', '_identity' => '3da977c7c1a19539cebcc63404a40dc146f61a0330c85268303378b4d2773a33a:2:{i:0;s:9:"_identity";i:1;s:50:"[5,"67cb3726-0e63-4e67-9771-a2ca02561eac",2592000]";}', ];

$_SESSION = [ 'flash' => [], 'id' => 5, 'authKey' => '67cb3726-0e63-4e67-9771-a2ca02561eac', 'expire' => 1688323049, 'currentAuthClientId' => 'local', 'user.canSeeAdminSection' => true, ];

Yii Framework

2023-07-02, 14:14:09

nginx/1.22.0

Yii Framework/2.0.48-dev