Posted: May 22, 2013 at 8:32 am
|
Hi, I have the following error. Please help Fatal error: Class ‘FPDF’ not found in /home/panasia/public_html/panasiahash.com/wp-content/uploads/espresso/gateways/invoice/function.pdf.php on line 8 |
Hi Gabriel, The that you’re seeing error indicates that the /invoice gateway folder was copied over to /wp-content/uploads/espresso/gateways, but something may not have been copied over. There are a couple ways to fix this: 1) Copy over the entire /invoice gateway folder from /event-espresso/gateways to /wp-content/uploads/espresso/gateways and deactivate/reactivate the invoice gateway. or 2) Remove the gateway files from /wp-content/uploads/espresso/gateways and reset the active gateways option value. update_option('event_espresso_active_gateways',''); The above code will wipe the active gateways option clean, so it’s important to remove the code from functions.php after it’s run, then go back and re-activate the gateways that were previously active. |
|
|
Hi Josh, Do you meant by removing all folders & files in /wp-content/uploads/espresso/gateways ? This will remove all folders. Is this what you meant? |
Yes, remove all the folders in /wp-content/uploads/espresso/gateways. |
|
|
I have this after doing the option 2 Warning: Invalid argument supplied for foreach() in /home/panasia/public_html/panasiahash.com/wp-content/plugins/event-espresso/includes/functions/main.php on line 1086Warning: Cannot modify header information – headers already sent by (output started at /home/panasia/public_html/panasiahash.com/wp-content/plugins/event-espresso/includes/functions/main.php:1086) in/home/panasia/public_html/panasiahash.com/wp-includes/pluggable.php on line 876 |
Try going to your gateways page and resaving the settings for your gateways. |
|
|
Now it’s running as per normal, but when I click on download PDF invoice, i have the following error again Fatal error: Class ‘FPDF’ not found in /home/panasia/public_html/panasiahash.com/wp-content/plugins/event-espresso/gateways/invoice/function.pdf.php on line 8 |
Mind if we take a look? Please send WordPress admin level log in credentials via this form: |
|
The support post ‘Fatal error: Class FPDF’ 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.