Editing a file, I get: Call to a member function format() on false

Phoca Download - download manager
pat01
Phoca Member
Phoca Member
Posts: 32
Joined: 22 May 2013, 16:06

Editing a file, I get: Call to a member function format() on false

Post by pat01 »

Hello

I do add a file and save. This works.
After I open it to edit and save again. Then I get an error message:
Call to a member function format() on false

The same happens if I open an (older) existing file and save.

How can I solve this?

Thanks / Danke
Patrick

Tags:
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9435
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: Editing a file, I get: Call to a member function format() on false

Post by Benno »

Hi,
which Joomla! version?
which Phoca Download Component version?
which PHP version?

Enable Joomla! 'Debug System' and set 'Error Reporting=Maximum' to get a more detailed error message (Call Stack).

Kind regards,
Benno
pat01
Phoca Member
Phoca Member
Posts: 32
Joined: 22 May 2013, 16:06

Re: Editing a file, I get: Call to a member function format() on false

Post by pat01 »

Hello

Sorry, I totally missed those information.

Joomla 5.1.1
Phoca Download 5.0.2
PHP 8.3

call stack:
https://prnt.sc/kxSaUSz96IlP

Regards
Patrick
christine
Phoca Hero
Phoca Hero
Posts: 2818
Joined: 28 Nov 2010, 17:20

Re: Editing a file, I get: Call to a member function format() on false

Post by christine »

Hi Patrick,

We had similar cases where it was a bug in Joomla. It was fixed with Joomla 5.1.1.
https://github.com/joomla/joomla-cms/pull/43234

Maybe check whether en/language is up to date?
Database: Click on repair?

Kind regards
Christine
pat01
Phoca Member
Phoca Member
Posts: 32
Joined: 22 May 2013, 16:06

Re: Editing a file, I get: Call to a member function format() on false

Post by pat01 »

Hi Christine

The database seems to be OK:

https://prnt.sc/TLo9Tc6b_3X4

https://prnt.sc/upFV36n6BmvZ

But now I did do update DB structure anyway for both (Joomla CMS and Phopca Download).

And after the error has gone!

It's strange that everything seemed to be OK in database, but obviously was not.

Anyway, the problem is solved.

Thanks a lot!

Patrick
christine
Phoca Hero
Phoca Hero
Posts: 2818
Joined: 28 Nov 2010, 17:20

Re: Editing a file, I get: Call to a member function format() on false

Post by christine »

Hi Patrick,

That's fine. Thank you for your feedback.

Kind regards
Christine
Post Reply