Page 1 of 1

PHP Errors when indexing with Smart Search

Posted: Fri Feb 01, 2013 9:35 am
by Senecca
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