Keyword

Constant K2_JVERSION already defined in K2.php on line 21

More
5 months 2 weeks ago #171469 by Marco
Marco created the topic: Constant K2_JVERSION already defined in K2.php on line 21
Hi!
Anybody know what this error comes from? Constant K2_JVERSION already defined in [web_dir]/plugins/system/k2/k2.php on line 21 and where do I start to investigate?

It appears in both front and back end.

I'm using Joomla! 3.x (last version) k2 (last version) Joomshaper Spectrum Template with PageBuilder PRO everything is up-to-date. Server has PHP 7.

Thanks,
Marco

Please Log in or Create an account to join the conversation.

  • Fotis
  • Fotis's Avatar
  • Offline
  • Administrator
  • JoomlaWorks Support Team
More
5 months 2 weeks ago #171475 by Fotis
Fotis replied the topic: Constant K2_JVERSION already defined in K2.php on line 21
If you have the site files locally, simply search for this string (K2_JVERSION). It should appear in some file outside of K2's files. If you don't have the files locally, try downloading them (create a zip file without /images/ and /media/k2/items/). Or, if you have terminal/SSH access to your web host, navigate to your site's public_html folder and run this:
$ find . -iname "*.php" | xargs grep "K2_JVERSION"

The above command will show you which files include this string.

If you use & love K2, please take a moment to add your review and rate it
at the Joomla Extensions Directory: extensions.joomla.org/extension/k2/


IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

Please Log in or Create an account to join the conversation.

Moderators: william white

Powered by Kunena Forum