HTTPERROR Warning: Parameter 1 to plgContentAvreloaded

Warning: Parameter 1 to plgContentAvreloaded

75

Merhaba Değerli Ziyaretçimiz

Bu makalemizde sizlere yine bir joomla sorunu ve çözümünü anlatacağız.Joomla sitenizi farklı bir sununucuya taşıdınız ve aşağıdaki sorunu aldıysanız yapacağınız 2 kod değişikliği ile sorunu gidereceksiniz.

 

Warning: Parameter 1 to plgContentAvreloaded::onPrepareContent() expected to be a reference, value given in /home/aaaaa/public_html/portal/libraries/joomla/event/event.php on line 67

 

Warning: Parameter 1 to plgContentJA_tabs::onPrepareContent() expected to be a reference, value given in /home/aaaaa/public_html/portal/libraries/joomla/event/event.php on line 67

 

Warning: Parameter 1 to plgContentPlg_JAThumbnail::onPrepareContent() expected to be a reference, value given in /home/aaaaa/public_html/portal/libraries/joomla/event/event.php on line 67

 

Warning: Parameter 1 to plgContentEmailCloak() expected to be a reference, value given in /home/aaaaa/public_html/portal/libraries/joomla/event/dispatcher.php on line 136

 

Warning: Parameter 1 to plgContentLoadModule() expected to be a reference, value given in /home/aaaaa/public_html/portal/libraries/joomla/event/dispatcher.php on line 136

 

Warning: Parameter 1 to plgContentPagebreak() expected to be a reference, value given in /home/aaaaa/public_html/portal/libraries/joomla/event/dispatcher.php on line 136

 

Warning: Parameter 1 to plgContentJComments::onPrepareContent() expected to be a reference, value given in /home/aaaaa/public_html/portal/libraries/joomla/event/event.php on line 67

 

şeklinde uzayıp giden bir hata.Hepsini yazmaya gerek yok dimi 🙂

Gelelim hatanın çözümüne;

Öncelikle libraries/joomla/event/dispatcher.php dosyasını notepad++ programı ile açıp 136.ncı satırdaki

$result[] = call_user_func_array($observer[‘handler’], $args);

kodunu bulup

$result[] = @call_user_func_array($observer[‘handler’], $args);

kodu ile değiştiriyorsunuz.

Daha sonra /libraries/joomla/event/event.php dosyasını yine bir notepad++ programı ile açıp 67.nci satırdaki

return call_user_func_array ( array($this, $event), $args );

kodunu bulup

return @call_user_func_array ( array($this, $event), $args );

kodu ile değiştirip kaydediyorsunuz ve sonra sitemizi kontrol ettiğimizde sorunun çözüldüğü görebilirsiniz.

 

Yardımcı olması dileğiyle…

 



Leave a Comment

Paylaş