Property Detail Throws Error (Estate Template On Joomla 6) - Question | JoomShaper

Property Detail Throws Error (Estate Template On Joomla 6)

P

Petra

Template 3 days ago

Hi,

I installed fullpackaged of Estate template here: http://www.real.levnejsiweb.cz

when I click detail of property, I get this error: 0 Class "JDispatcher" not found e.g. here: http://www.real.levnejsiweb.cz/buy/5-phasellus-molestie-luctus-leo-nec

can you please help me?

0
4 Answers
P
Petra
Accepted Answer
3 days ago #220661

i have temporarily fixed it using this guidance from chatgpt saying that these lines are obsolete for J6: $dispatcher = JDispatcher::getInstance(); $dispatcher->trigger('onInit', 'dynamic_recaptcha_spmedical'); $recaptcha = $dispatcher->trigger('onDisplay', array(null, 'dynamic_recaptcha_spmedical', 'class="spproperty-dynamic-recaptcha"'));

but I guess captcha does not work now. Anyway, can we make it work with any default Joomla captcha? I'm using ochcaptcha for sites on J5-6 due to Google's decision to make recatcha paid service.

0
P
Petra
Accepted Answer
2 days ago #220667

Hi, same problem with agent/default.php

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 12 hours ago #220787

Hi there,

Thank you for reaching out, and I apologize for any inconvenience caused by this oversight. Which file did you modyfied? Please let me know the file name and line of code that you have modified.

Best regards,

Toufiqur Rahman (Team Lead, Support)

0
P
Petra
Accepted Answer
12 hours ago #220790

Hi Toufiq,

I don't know which line was updated, I downloaded fixed default.php files for each problematic override from chatgpt. I can share the files but it would be better if you checked them.

0