PHP Errors when indexing with Smart Search

The support for Joomla 2.5 ended on December 31, 2014. Possible bugs in Joomla 2.5 will not be patched anymore. This forum has been closed. Please update your website to Joomla 3.x

Moderator: ooffick

Forum rules
Please use the official Bug Tracker to report a bug: https://issues.joomla.org
Locked
Senecca
Joomla! Apprentice
Joomla! Apprentice
Posts: 19
Joined: Wed Oct 01, 2008 2:54 pm

PHP Errors when indexing with Smart Search

Post by Senecca » Fri Feb 01, 2013 9:35 am

Hi Guys,

when performing an indexing with smartsearch i got those strange errors:
PHP Fatal error: Call to undefined method JDocumentJSON::addCustomTag() in /var/www/nfs/potter00/domain/htdocs/jupgrade/libraries/joomla/html/editor.php on line 258

PHP Fatal error: Access to undeclared static property: JLoader::$classes in /var/www/nfs/potter00/domain/htdocs/jupgrade/libraries/loader.php on line 195
Editor is TinyMCE but even when i disable the plugin or change the editor in configurations, the error still pops up.
I've commented out the line 258 in editor php

Code: Select all

$document->addCustomTag($return);
and suprisingly it seems to work for me now. I've not encountered any errors for now.

Anyway, I dislike changing Joomla Core files. If anyone else had the same error and found another solution, i would love to test it.

I forgot my system specs:
Joomla 2.5.8
PHP 5.3.8
MySQL 5.0.8
Apache Webserver
All Directories are writeable by Joomla

Locked

Return to “Joomla! 2.5 Bug Reporting”