Skip to content

I got the error message Undefined property: Minz_View::$rss_title when opening the view of extension #353

Closed

Description

@reply2future

version

freshrss: 1.27.0, docker image from linuxserver/freshrss
extension: News Assistant, 0.13.0, https://github.com/reply2future/xExtension-NewsAssistant

issue

Image

what I did in this page:

class NewsAssistantExtension extends Minz_Extension
{
	public function init()
	{
		parent::init();

		$this->registerController('assistant');
		$this->registerViews();
		$this->registerTranslates();
		$this->registerHook('nav_menu', array($this, 'addSummaryBtn'));
	}
       # ...
}

logs

2025/08/26 12:27:23 [error] 297#297: *265 FastCGI sent in stderr: "PHP message: PHP Warning:  Undefined property: Minz_View::$rss_title in /app/www/app/layout/layout.phtml on line 42" while reading upstream, client: 192.168.224.1, server: _, request: "GET /i/?c=assistant&a=summary&cat_id=3&state=2 HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "example.com"
2025/08/26 12:27:23 [error] 297#297: *265 FastCGI sent in stderr: "; PHP message: PHP Warning:  Undefined property: Minz_View::$html_url in /app/www/app/layout/header.phtml on line 20" while reading upstream, client: 192.168.224.1, server: _, request: "GET /i/?c=assistant&a=summary&cat_id=3&state=2 HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "example.com"

Thank you for any help.

Activity

  1. Inverle commented on Aug 26, 2025

    @Inverle
    Member

    Do this

    diff --git a/Controllers/assistantController.php b/Controllers/assistantController.php
    index e4f6766..86a4827 100644
    --- a/Controllers/assistantController.php
    +++ b/Controllers/assistantController.php
    @@ -2,7 +2,7 @@
    
     require(dirname(__DIR__) . '/helper.php');
    
    -class FreshExtension_assistant_Controller extends Minz_ActionController
    +class FreshExtension_assistant_Controller extends FreshRSS_ActionController
     {
            const NEWS_CATEGORY_TYPE = 'c';
    
  2. reply2future commented on Aug 26, 2025

    @reply2future
    ContributorAuthor

    Thank you so much! It works perfectly right now :)

  3. locked and limited conversation to collaborators on Aug 26, 2025
  4. converted this issue into a discussion #354 on Aug 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions