Keyword

[SOLVED] Fatal error in line 74 of mod_k2_content

  • chgeiselmann
  • chgeiselmann's Avatar Topic Author
  • Offline
  • New Member
More
6 years 2 months ago - 6 years 2 months ago #166500 by chgeiselmann
In my Joomla 3.8 installation that uses a third-party responsive template ("JD Construction"), when changing away from that template and selecting another one (e.g. one of those that come with Joomla by default, or any other third party template), I get on frontend:

Fatal error: require(): Failed opening required '/homepages/12/d412842748/htdocs/MobileBECMS/modules/mod_k2_content/tmpl/default.php' (include_path='.:/usr/lib/php5.6') in /homepages/12/d412842748/htdocs/MobileBECMS/modules/mod_k2_content/mod_k2_content.php on line 74


I looked up what is line 74. Here it is:
<img src="<?php echo $item->image; ?>" alt="<?php echo K2HelperUtilities::cleanHtml($item->title); ?>" />

I cannot see from this what could be wrong. Something with an image missing? But could a missing image cause a "fatal error"?

Any advice what to do?

(K2 version is 2.8.0)

Thanks!
Last edit: 6 years 2 months ago by chgeiselmann.

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

More
6 years 2 months ago #166516 by JoomlaWorks
Replied by JoomlaWorks on topic [SOLVED] Fatal error in line 74 of mod_k2_content
Seems the stock module files are deleted. Simply install K2 on top of your existing installation to re-instate the missing files.

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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


Powered by Kunena Forum