Support

Home Forums Ticketing Add-on Ticketing: PHP Bug #44144

Ticketing: PHP Bug #44144

Posted: February 1, 2014 at 11:59 pm

Viewing 9 reply threads


Mark Maxwell

February 1, 2014 at 11:59 pm

I am getting the PHP error below with the ticketing add-on. When selecting “Download PDF Ticket” either from the ticket preview page or from the attendee record dashboard.

Help much appreciated!
-Mark

URL: http://apsdex.com/event-registration/

WP 3.8.1
DMX Page restriction by Demonix version 6.6.6,
Elegant Themes Updater by Elegant Themes version 1.0,
Event Espresso API Plugin by Event Espresso, (Mike Nelson) version 2.1.P,
Event Espresso – MailChimp Integration by version 1.2,
Event Espresso – Multi Event Registration by Seth Shoultes version 1.0.5.p,
Event Espresso – Permissions by Event Espresso version 1.5.5.p,
Event Espresso – Roles and Permissions Pro by Event Espresso version 2.0.7.p,
Event Espresso – Ticketing by Event Espresso version 2.1.p,
Event Espresso by Event Espresso version 3.1.36.4.P,
User Switching by John Blackbourn version 0.8.6,
WooCommerce PDF Product Vouchers by SkyVerge version 2.0.1,
WooCommerce by WooThemes version 2.0.20,
WooThemes Helper by WooThemes version 1.2.2,
Wordfence Security by Mark Maunder version 4.0.1,
WP Super Cache by Donncha O Caoimh version 1.4
——————————-
NULL 5.2.17
Fatal error: Uncaught exception ‘Exception’ with message ‘This function is not compatible with non-static object methods due to PHP Bug #44144.’ in /wp-content/plugins/event-espresso/tpc/dompdf/dompdf_config.inc.php:385

/wp-content/plugins/event-espresso/tpc/dompdf/dompdf_config.inc.php on line 385

  • This topic was modified 10 years, 9 months ago by Josh. Reason: removed the server file paths


Josh

  • Support Staff

February 3, 2014 at 3:59 pm

Hi Mark,

Can you find out which version of PHP is installed on this server and let us know? Thanks.


Mark Maxwell

February 3, 2014 at 4:09 pm

Hi Josh,
Its running it on PHP 5, at HostGator.


Josh

  • Support Staff

February 3, 2014 at 4:30 pm

That’s not quite a specific version number. It should be something like PHP 5.2.17 or PHP 5.4.4.


Mark Maxwell

February 3, 2014 at 4:47 pm

Server: Localhost via UNIX socket
Software: Percona Server
Software version: 5.5.33-31.1 – Percona Server (GPL), Release rel31.1, Revision 2
Protocol version: 10

cpsrvd 11.36.2.12
Database client version: libmysql – 5.0.96
PHP extension: mysql Documentation

PHP myAdmin
Version information: 3.5.5, latest stable version: 4.1.6


Josh

  • Support Staff

February 3, 2014 at 5:00 pm

With that being the case, it may help to change the DOMPDF autoload function that starts around line 334 of /event-espresso/tpc/dompdf/dompdf_config.inc.php to use the code that was posted in this related thread:

https://code.google.com/p/dompdf/issues/detail?id=222#c6


Mark Maxwell

February 3, 2014 at 5:21 pm

Thanks Josh, I just contacted HostGator and they said the default PHP Version is 5.2.17. They also mentioned that it could be defined for each of my domains. If the PHP version will make the difference, I can try to figure out how to change it. -Mark


Mark Maxwell

February 3, 2014 at 7:58 pm

Thanks Josh, but actually your suggestion didn’t work. because the originial dompdf_config.inc.php already implemented that code in it. any other suggestion?


Sidney Harrell

February 3, 2014 at 8:47 pm

If you can get the php version to greater than or equal to 5.3, then it should run line 371 instead of 375-408, where the exception is being thrown.


Mark Maxwell

February 4, 2014 at 3:03 am

Sidney, Thanks for your suggestion. 5.3 does resolved the problem. big thanks.

Viewing 9 reply threads

The support post ‘Ticketing: PHP Bug #44144’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso