PHP Deprecated: and PDF not working

Phoca PDF - creating PDF documents in Joomla! CMS
DaveOzric
Phoca Member
Phoca Member
Posts: 11
Joined: 29 Nov 2010, 15:55

PHP Deprecated: and PDF not working

Post by DaveOzric »

Hi, not idea if these are related but since updating the Phoca Restaurant Menu PDF does not work. All I did was update the plugin.

Phoca PDF
Administrator Component 3.0.5 19/05/2018

Phoca PDF - Restaurant Menu
Site Plugin 3.0.2 06/12/2014

Phoca Restaurant Menu
Administrator Component 3.1.0 21/04/2017


I have been getting the PHP error_log message since I installed the PDF plugin though.

[27-Jun-2018 13:17:25 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; plgPhocaPDFRestaurantMenu has a deprecated constructor in /home/dave/public_html/kurt/plugins/phocapdf/restaurantmenu/restaurantmenu.php on line 16

Also is there a way to open the PDF in a new tab? I would like my site to stay open and have the PDF open in a new tab when clicking the icon.

Thank you

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

Re: PHP Deprecated: and PDF not working

Post by Jan »

Hi, update of the plugin is needed, please let me know if it works for you.

Jan
If you find Phoca extensions useful, please support the project
DaveOzric
Phoca Member
Phoca Member
Posts: 11
Joined: 29 Nov 2010, 15:55

Re: PHP Deprecated: and PDF not working

Post by DaveOzric »

Hi Jan, yes the plugin update worked.

Thank you
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: PHP Deprecated: and PDF not working

Post by Jan »

Ok
If you find Phoca extensions useful, please support the project
Post Reply