Warning: Parameter 1 to plgContentAvreloaded::onPrepareContent() expected to be a reference, value given in

by

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…

 

You may also like

WHM / Cpanel

Wp-admin klasörüne belirli ip lerin erişmesi

Merhaba Değerli Ziyaretçimiz Sizin tanımladığınız ip ler haricinde başka hiç kimse sizin wordpress yönetim panelinize ulaşmasın istiyorsanız uygulanabilecek yöntemlerden bir tanesi, Bu işlem için hosting alanınızda wordpress kurulu olan kök dizininde /wp-admin klasörü içine...
Genel , Güncel , Server

Hibrit Cloud Nedir?

Hibrit Cloud Nedir? Hibrit cloud ise private (özel) cloud servisleri ile public (genel) cloud servislerinin kombinasyonu ile oluşturulan, bu iki sistem arasında veri ve uygulamaların paylaşılması prensibine dayanan bulut bilişim temelli bilgi işlem ortamıdır....