1. eumel7
  2. Sherlock Holmes The Voice Notable Answerer
  3. Commercial Templates
  4. Tuesday, 28 December 2021
  5.  Subscribe via email
In the Joomla 4 template Layla, I am trying to integrate the JEvents component. When displaying the calendar, a PHP line warning appears in a template file:

note
: Undefined variable: hornav in
/var/www/webxxx/html/j4ssv1863saydapage/templates/j51_layla/inc/layouts/hornav.php on-line11

LINK: http://j4ssv1863sayda.ssvsayda.de/index.php/termine

Report errors is set to "Maximum" in the server settings. The error comes, but if there is an error, display: none
Mainly the header is destroyed when you click on: "Kalender" or "Termin Eintragen" Enter an appointment"

The code in the file is as follows:
<?php 
defined( '_JEXEC' ) or die( 'Restricted index access' );
?>

<?php if($this->params->get('hornavPosition') == '1') : ?>
<nav id="hornav-nav" class="hornav">
<jdoc:include type="modules" name="hornav" />
</nav>
<?php else : ?>
<nav id="hornav-nav" class="hornav">
<?php echo $hornav; ?>
</nav>
<?php endif; ?>
References
  1. http://j4ssv1863sayda.ssvsayda.de/index.php/termine
Accepted Answer Pending Moderation
0
Votes
Undo
In the meantime I have reinstalled and set up the Jevent component. The mistake remains. The error does not appear on another J4 page with a different template and Jevent.
Unfortunately I don't have another J51 template (J4) to test ...
  1. more than a month ago
  2. Commercial Templates
  3. # 1
Accepted Answer Pending Moderation
0
Votes
Undo
Hello

May I suggest sending temporary administration access to your Joomla installation to info@joomla51.com and we will examine this issue further. For our reference please paste a link to this post in your email.

Ciaran
  1. more than a month ago
  2. Commercial Templates
  3. # 2
Accepted Answer Pending Moderation
0
Votes
Undo
Hallo...
Ok.
I sent the access data on January 5th, 2022. Thanks for the help
  1. more than a month ago
  2. Commercial Templates
  3. # 3
Accepted Answer Pending Moderation
0
Votes
Undo
Thank you

I have tried enabling the default Joomla template (Cassiopeia) and I get the following error which may indicate an issue with the component or at least an error in the implementation...

Notice
: ob_end_clean(): failed to delete buffer. No buffer to delete in
/var/www/web739/html/j4ssv1863saydapage/libraries/src/Layout/FileLayout.php
on line
130


I can get the page to load if I enable the General -> Menus -> Convert to Module Position (hornav) option in the template settings however the page appears to be site within a site. I am not sure if this is intended?

Ciaran
  1. more than a month ago
  2. Commercial Templates
  3. # 4
Accepted Answer Pending Moderation
0
Votes
Undo
Hi.
Unfortunately I don't understand the problem due to the translation. (in German)
The website is in a folder in the root, currently the website is still running as a test domain. The web address will only move after it has been finalized ....
  1. more than a month ago
  2. Commercial Templates
  3. # 5
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!