Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8957735
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T15:03:33+00:00 2026-06-15T15:03:33+00:00

I am getting this error on a joomla Plugin called Readless: Fatal error: Call

  • 0

I am getting this error on a joomla Plugin called Readless:

Fatal error: Call to undefined method JDate::toFormat() in D:\wamp\www\test\plugins\content\readlesstext\readlesstext.php on line 1371
Call Stack
#   Time    Memory  Function    Location
1   0.0007  340432  {main}( )   ..\index.php:0
2   0.1884  7087984 JSite->dispatch( )  ..\index.php:52
3   0.1919  7150720 JComponentHelper::renderComponent( )    ..\application.php:205
4   0.1986  7192016 JComponentHelper::executeComponent( )   ..\helper.php:339
5   0.1990  7239144 require_once( 'D:\wamp\www\test\components\com_content\content.php' )   ..\helper.php:359
6   0.2060  7681608 JControllerLegacy->execute( )   ..\content.php:16
7   0.2060  7681656 ContentController->display( )   ..\legacy.php:722
8   0.2061  7683608 JControllerLegacy->display( )   ..\controller.php:77
9   0.2169  8470112 ContentViewCategory->display( ) ..\legacy.php:685
10  0.3341  10557472    JEventDispatcher->trigger( )    ..\view.html.php:109
11  0.3341  10558024    JEvent->update( )   ..\dispatcher.php:161
12  0.3341  10558528    call_user_func_array ( )    ..\event.php:71
13  0.3341  10558552    plgContentReadLessText->onContentBeforeDisplay( )   ..\event.php:0
14  0.3341  10558640    plgContentReadLessText->ReadLessText( ) ..\readlesstext.php:1448
15  0.3676  10562608    plgContentReadLessText->_GetParams( )   ..\readlesstext.php:1549
16  0.3836  10586160    ReadLessTextExpand->SetExpandables( )   ..\readlesstext.php:1871

and this is the code in the plugin file:

   if ( $dateFormat )
    {
      if ( $this->_created )
      {
        $this->_expandables[ '{created}' ] = $this->_created->toFormat( $dateFormat );
      }
      if ( $this->_modified )
      {
        $this->_expandables[ '{modified}' ] = $this->_modified->toFormat( $dateFormat );
      }
      if ( $this->_publishUp )
      {
        $this->_expandables[ '{publish_up}' ] = $this->_publishUp->toFormat( $dateFormat );
      }
    }

I dont see anything wrong, Help me. Its

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T15:03:34+00:00Added an answer on June 15, 2026 at 3:03 pm

    Got the answer:

    toFormat

    is deprecated in joomla 3

    use
    Format

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am getting this error while installing plugin present on site http://www.bin-co.com/blog/2009/07/export-to-wordpress-joomla-plugin/ JFolder::create: Could
Am getting this error for my code: Undefined symbols for architecture x86_64: _spendDollars, referenced
Im getting this error. ReferenceError: Can't find variable: cordova at file:///android_asset/www/childbrowser.js:87 I have done
Getting this error while compiling C++ code: undefined reference to `__stack_chk_fail' Options already tried:
Getting this error Call to a member function attributes() on a non-object I have
I'm trying to send emails from Joomla! 1.5.9, but keep getting this error message:
* *getting this error Uncaught TypeError: Object # has no method 'tree' at this
Getting this error when clicking the edit button for a record in phpmyadmin Method
Getting this error: 2009-09-03 12:44:02.307 xcodebuild[307:10b] warning: compiler 'com.apple.compilers.llvm.clang.1_0.analyzer' is based on missing compiler
Getting this error with jquery & jquery.form. Site has been live for awhile..upgraded to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.