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

Call to undefined function _t() in Category.php on line 74 #2564

Closed
Leepic opened this issue Oct 9, 2019 · 2 comments
Closed

Call to undefined function _t() in Category.php on line 74 #2564

Leepic opened this issue Oct 9, 2019 · 2 comments
Labels
API 🤝 API for other clients Important 🔥
Milestone

Comments

@Leepic
Copy link
Contributor

Leepic commented Oct 9, 2019

Since the PR #2522 (line 74 of Category.php) the gReader API is broken. I've got an HTTP 500 error when I sync my feeds. Here the error in the web server:

Got error 'PHP message: PHP Fatal error: Call to undefined function _t() in /var/www/html/FreshRSS/app/Models/Category.php on line 74

Wordaround:

  • Comment those lines:
                //if ($id == FreshRSS_CategoryDAO::DEFAULTCATEGORYID) {
                //      $this->_name(_t('gen.short.default_category'));
                //}

Versions:

  • 1.14.4-dev
  • 5.6.40
  • Apache 2.4.10
@Alkarex Alkarex added this to the 1.15.0 milestone Oct 9, 2019
@Alkarex Alkarex added Important 🔥 API 🤝 API for other clients labels Oct 9, 2019
Alkarex added a commit to Alkarex/FreshRSS that referenced this issue Oct 9, 2019
@Alkarex Alkarex mentioned this issue Oct 9, 2019
Alkarex added a commit that referenced this issue Oct 9, 2019
@Alkarex
Copy link
Member

Alkarex commented Oct 9, 2019

@Leepic Thanks for the bug report. Should be fixed with #2565
Could you please try to update your /dev branch?

@Leepic
Copy link
Contributor Author

Leepic commented Oct 10, 2019

@Alkarex it works, thank you!

@Leepic Leepic closed this as completed Oct 10, 2019
javerous pushed a commit to javerous/FreshRSS that referenced this issue Jan 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API 🤝 API for other clients Important 🔥
Projects
None yet
Development

No branches or pull requests

2 participants