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 constant "Kunena\Forum\Libraries\Factory\KPATH_ADMIN" #9669

Open
pfitzer opened this issue Apr 17, 2024 · 2 comments
Open

Undefined constant "Kunena\Forum\Libraries\Factory\KPATH_ADMIN" #9669

pfitzer opened this issue Apr 17, 2024 · 2 comments

Comments

@pfitzer
Copy link
Contributor

pfitzer commented Apr 17, 2024

Describe the bug
Building the joomla index with the cli command ends with error: Undefined constant "Kunena\Forum\Libraries\Factory\KPATH_ADMIN"

To Reproduce

  1. ssh connect to your server and cd to joomla installation dir
  2. run php cli/joomla.php finder:index

Expected behavior
Command should run without any errors

Actual result

php cli/joomla.php finder:index
Finder Indexer
==========================

 Starting Indexer
 Setting up Smart Search plugins

In KunenaFactory.php line 215:

  Undefined constant "Kunena\Forum\Libraries\Factory\KPATH_ADMIN"

System information

Joomla version: 4.4.4
Kunena version: 6.2.6
Php version: 8.3.6

@pfitzer
Copy link
Contributor Author

pfitzer commented Apr 22, 2024

I have tested this patch and there is another error showing know

 php cli/joomla.php finder:index
Finder Indexer
==========================

 Starting Indexer
 Setting up Smart Search plugins
 Setup 15135 items in 0.032 seconds.

In KunenaRoute.php line 902:

  Call to undefined method Joomla\CMS\Application\ConsoleApplication::getMenu()

Copy link

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

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