preg_match_all() raises error

Phoca PDF - creating PDF documents in Joomla! CMS
BlackPanther
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 10 Jan 2012, 19:36

preg_match_all() raises error

Post by BlackPanther »

I get these errors:
Warning: preg_match_all() expects parameter 2 to be string, array given in /var/www/web***/html/***/administrator/components/com_phocapdf/assets/tcpdf/tcpdf.php on line 17872

Warning: preg_match_all() expects parameter 2 to be string, array given in /var/www/web***/html/***/administrator/components/com_phocapdf/assets/tcpdf/tcpdf.php on line 17880

Warning: preg_match_all() expects parameter 2 to be string, array given in /var/www/web***/html/***/administrator/components/com_phocapdf/assets/tcpdf/tcpdf.php on line 17901

Notice: Array to string conversion in /var/www/web***/html/***/administrator/components/com_phocapdf/assets/tcpdf/tcpdf.php on line 17916

Notice: Array to string conversion in /var/www/web***/html/***/administrator/components/com_phocapdf/assets/tcpdf/tcpdf.php on line 17923

Warning: Cannot modify header information - headers already sent by (output started at /var/www/web***/html/***/administrator/components/com_phocapdf/assets/tcpdf/tcpdf.php:17872) in /var/www/web***/html/***/administrator/components/com_phocapdf/assets/tcpdf/tcpdf.php on line 7930
TCPDF ERROR: Some data has already been output to browser, can't send PDF file
What can I do?

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

Re: preg_match_all() raises error

Post by Jan »

Hi, try to upgrade to 2.0.5 (Joomla! 1.7, 2.5) - there were some changes in Joomla! regarding getting content buffer.

Jan
If you find Phoca extensions useful, please support the project
BlackPanther
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 10 Jan 2012, 19:36

Re: preg_match_all() raises error

Post by BlackPanther »

Is there no solution for J1.7?
As J2.5 isn't released yet, I'd like to stay on a secured plattform.

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

Re: preg_match_all() raises error

Post by Jan »

2.0.5 is Joomla! 1.7 component.

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