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

Got error 'PHP message: PHP Notice: Undefined variable: config #6755

Closed
ZerooCool opened this issue Feb 20, 2020 · 5 comments
Closed

Got error 'PHP message: PHP Notice: Undefined variable: config #6755

ZerooCool opened this issue Feb 20, 2020 · 5 comments
Labels
Milestone

Comments

@ZerooCool
Copy link

ZerooCool commented Feb 20, 2020

Debian 10
Apache 2.4
PHP 7.3

Got error 'PHP message: PHP Notice: Undefined variable: config in /var/www/visionduweb.fr/components/com_kunena/views/topics/view.feed.php on line 162

PHP message: PHP Notice: Trying to get property 'board_title' of non-object in /var/www/visionduweb.fr/components/com_kunena/views/topics/view.feed.php on line 162'

Line 162 :
$this->document->setGenerator($config->board_title);

@810
Copy link
Member

810 commented Feb 20, 2020

On which url do you got this error?

@ZerooCool
Copy link
Author

ZerooCool commented Feb 20, 2020

Good question.

I did not try to make the relation between the message of error.log and the link which I must I suppose to find in access.log

I will try to see because it is a message that comes up often, with bad ip.

@ZerooCool
Copy link
Author

ZerooCool commented Feb 20, 2020

From access.log :
IP - - [DATE] "GET /forum/topics/posts?format=feed HTTP/1.1" 200 8740 "-" "-"

@810
Copy link
Member

810 commented Feb 20, 2020

Ok, fixed.

@810 810 closed this as completed Feb 20, 2020
@ZerooCool
Copy link
Author

ZerooCool commented Feb 20, 2020

Thank you.

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

No branches or pull requests

2 participants