Call to undefined method Joomla\CMS

Phoca Download - download manager
Milian
Phoca Member
Phoca Member
Posts: 19
Joined: 25 Jul 2011, 09:47

Call to undefined method Joomla\CMS

Post by Milian »

I installed the latest com_phocadownload_v4.0.0.
And got fatal errors.
0 Call to undefined method Joomla\CMS\Toolbar\Toolbar::popupButton()
com_phocadownload_v4.0.0 is a beta version but this is a serious error. When opening the Admin (files, categories).
Regards,
Milian

Tags:
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Call to undefined method Joomla\CMS

Post by Jan »

Hi, which version of Joomla you are using? Which Phoca Download version exactly?

Can you enable debug mode to get whole error message (including file, line and debug trace)?

Testing now, without any such error, even there is no call to Toolbar::popupButton() statically but with help of $bar object. :idea:

Jan
If you find Phoca extensions useful, please support the project
Milian
Phoca Member
Phoca Member
Posts: 19
Joined: 25 Jul 2011, 09:47

Re: Call to undefined method Joomla\CMS

Post by Milian »

Hi Jan,
In the mean time I found out that I mixed up Phocadownload for Joomla 3 an Joomla 4.
3.2.3. versus 4.0.0.alpha8. So my problem is solved. Sorry for mixing up.

One question left:
I have an: Error while downloading file (Mime Type not found)
I have this syntax for the .gpx extention:
For Joomla-30:
{gpx=application/x-gpx}
For Joomla-40:
{gpx=application/gpx+xml}

But I do not know where I have to place this line.
Thanks for your answer!
Regards,
Milian
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9449
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: Call to undefined method Joomla\CMS

Post by Benno »

Image

Kind regards,
Benno
Milian
Phoca Member
Phoca Member
Posts: 19
Joined: 25 Jul 2011, 09:47

Re: Call to undefined method Joomla\CMS

Post by Milian »

Thanks Benno,
It works now.
Regards, Milian
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9449
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: Call to undefined method Joomla\CMS

Post by Benno »

You're welcome!

Kind regards,
Benno
Post Reply