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

Undefined variables #9563

Closed
makitso opened this issue Sep 21, 2023 · 4 comments
Closed

Undefined variables #9563

makitso opened this issue Sep 21, 2023 · 4 comments

Comments

@makitso
Copy link

makitso commented Sep 21, 2023

Running Joomla 4.3.4 and Kunena 6.1.3.2

Seeing lots of these errors in my log file:

PHP Warning: Undefined variable $target in /var/www/html/we/xxxxx/components/com_kunena/template/aurelia/layouts/bbcode/url/default.php on line 32
PHP Warning: Undefined variable $end_tag_params in /var/www/html/we/xxxxx/libraries/kunena/External/Nbbc/src/BBCode.php on line 2321

Comparing these two files to the same ones in kunena 3 I see that these variables are established
e.g.
$target = ‘’;
$end_tag_params = ‘’;

So, I have added the to the kunena 4.3.4 files and the errors have gone away.
Is this a bug?

@github-actions
Copy link

This issue is stale because it has been open 30 days with no activity.

@xillibit
Copy link
Member

xillibit commented Oct 27, 2023

I'am testing it on Kunena 6.2.0 but i'am not able to get these errors messages.
For the Undefined variable $end_tag_params in /var/www/html/we/xxxxx/libraries/kunena/External/Nbbc/src/BBCode.php on line 2321 you can only have if you have enabled debug mode for BBCode

@makitso
Copy link
Author

makitso commented Oct 27, 2023

I think it was caused by FastCGI. I turned it off and have not has the errors since then.

@xillibit
Copy link
Member

I have just added that : f1171fa for the Undefined variable $target

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

No branches or pull requests

2 participants