Title: Error whilst trying to install plugin
Last modified: September 22, 2021

---

# Error whilst trying to install plugin

 *  Resolved [hypuk](https://wordpress.org/support/users/hypuk/)
 * (@hypuk)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/error-whilst-trying-to-install-plugin/)
 * Hi
 * I’m trying to install the plugin however when I try and activate plugin, the 
   following errors occure. Below is from my debug log.
 *     ```
       [22-Sep-2021 00:11:45 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function get_admin_email() in /home/markthem/public_html/wp-content/plugins/pdf-forms-for-contact-form-7/modules/pdf-ninja.php:147
       Stack trace:
       #0 /home/markthem/public_html/wp-content/plugins/pdf-forms-for-contact-form-7/modules/pdf-ninja.php(100): WPCF7_Pdf_Ninja->generate_key()
       #1 /home/markthem/public_html/wp-content/plugins/pdf-forms-for-contact-form-7/modules/pdf-ninja.php(1090): WPCF7_Pdf_Ninja->get_key()
       #2 /home/markthem/public_html/wp-content/plugins/pdf-forms-for-contact-form-7/pdf-forms-for-contact-form-7.php(335): WPCF7_Pdf_Ninja->admin_notices()
       #3 /home/markthem/public_html/wp-includes/class-wp-hook.php(303): WPCF7_Pdf_Forms->admin_notices('')
       #4 /home/markthem/public_html/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters(NULL, Array)
       #5 /home/markthem/public_html/wp-includes/plugin.php(470): WP_Hook->do_action(Array)
       #6 /home/markthem/public_html/wp-admin/admin-header.php(287): do_action('admin_notices')
       #7 /home/markthem/public_html/wp-admin/plugins. in /home/markthem/public_html/wp-content/plugins/pdf-forms-for-contact-form-7/modules/pdf-ninja.php on line 147
       ```
   

Viewing 1 replies (of 1 total)

 *  Plugin Author [maximum.software](https://wordpress.org/support/users/maximumsoftware/)
 * (@maximumsoftware)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/error-whilst-trying-to-install-plugin/#post-14895921)
 * Hi,
 * I accidentally let one slip in the last release. Sorry about that. I’ve fixed
   the crash and released a new version.
 * Let me know if the new version works for you.
 * Thanks.

Viewing 1 replies (of 1 total)

The topic ‘Error whilst trying to install plugin’ is closed to new replies.

 * ![](https://ps.w.org/pdf-forms-for-contact-form-7/assets/icon.svg?rev=2670251)
 * [PDF Forms Filler for CF7](https://wordpress.org/plugins/pdf-forms-for-contact-form-7/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/pdf-forms-for-contact-form-7/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/pdf-forms-for-contact-form-7/)
 * [Active Topics](https://wordpress.org/support/plugin/pdf-forms-for-contact-form-7/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/pdf-forms-for-contact-form-7/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/pdf-forms-for-contact-form-7/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [maximum.software](https://wordpress.org/support/users/maximumsoftware/)
 * Last activity: [4 years, 9 months ago](https://wordpress.org/support/topic/error-whilst-trying-to-install-plugin/#post-14895921)
 * Status: resolved