Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End PHP Fatal error (joomla)

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #44792
    ani7ruddha
    Participant

    PHP Fatal error: Call to undefined method stdClass:onDisplay() in librariesjoomlahtmleditor.php on line 459

    http://techcongress.net/

    Plz help asap

    #135147
    CrocoDillon
    Participant

    Don’t know anything about Joomla but a quick Google searched tells me it’s a missing or invalid plugin.

    #135148

    Had a quick google, came across the same issue on stackoverflow, They suggested the following:

    Replace the line:

    $resultTest = $plugin->onDisplay($editor);

    which is in line 261* after the line:

    // Try to authenticate — only add to array if authentication is successful

    Replace it with:

    if (method_exists($plugin, ‘onDisplay’)) {
    $result[] = $plugin->onDisplay($editor);
    }

    This code won’t get rid of the problem, but will remove the symptoms. As CrocoDillon points out, the error basically means there is a missing/invalid plugin.

    #135222
    ani7ruddha
    Participant

    Solved it myself actually I had enabled automatic language selection in one of the default editors and that was the bug..

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘Back End’ is closed to new topics and replies.