Title: PHP 8
Last modified: March 8, 2023

---

# PHP 8

 *  [mhartste](https://wordpress.org/support/users/mhartste/)
 * (@mhartste)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/php-8-67/)
 * Hi Guys –
 * I love your plugin and it’s worked perfectly for me, until I tried upgrading 
   from PHP 7.4 to PHP 8.0.27.
 * When I upgrade, your plugin crashes my site. I went back to 7.4 and deactivated
   it, then upgraded again to 8. When I try to activate POST SMTP v2.4.3 I get:
 * Plugin could not be activated because it triggered a fatal error.
 * Fatal error: Uncaught TypeError: Cannot access offset of type string on string
   in /var/www/wp-content/plugins/post-smtp/Postman/PostmanInstaller.php:258 Stack
   trace: #0 /var/www/wp-content/plugins/post-smtp/Postman/PostmanInstaller.php(
   75): PostmanInstaller->handleOptionUpdates() #1 /var/www/wp-content/plugins/post-
   smtp/Postman/Postman.php(130): PostmanInstaller->activatePostman() #2 /var/www/
   wp-content/plugins/post-smtp/postman-smtp.php(202): Postman->__construct(‘/var/
   www/wp-con…’, ‘2.4.3’) #3 /var/www/wp-content/plugins/post-smtp/postman-smtp.
   php(193): post_setupPostman() #4 /var/www/wp-content/plugins/post-smtp/postman-
   smtp.php(122): post_smtp_start(24827024) #5 /var/www/wp-admin/includes/plugin.
   php(2314): include_once(‘/var/www/wp-con…’) #6 /var/www/wp-admin/plugins.php(
   192): plugin_sandbox_scrape(‘post-smtp/postm…’) #7 {main} thrown in /var/www/
   wp-content/plugins/post-smtp/Postman/PostmanInstaller.php on line 258
 * Any suggestions?
 * Thanks,
 * Mike

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [mhartste](https://wordpress.org/support/users/mhartste/)
 * (@mhartste)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/php-8-67/#post-16541650)
 * Sorry, the fatal error I receive is:
 * **Fatal error**: Uncaught TypeError: array_intersect_key(): Argument #1 ($array)
   must be of type array, string given in /var/www/wp-content/plugins/enhanced-media-
   library/enhanced-media-library.php:828 Stack trace: #0 /var/www/wp-content/plugins/
   enhanced-media-library/enhanced-media-library.php(828): array_intersect_key(”,
   Array) #1 /var/www/wp-content/plugins/enhanced-media-library/enhanced-media-library.
   php(678): wpuxss_eml_set_options() #2 /var/www/wp-includes/class-wp-hook.php(
   308): wpuxss_eml_on_activation(”) #3 /var/www/wp-includes/class-wp-hook.php(332):
   WP_Hook->apply_filters(”, Array) #4 /var/www/wp-includes/plugin.php(517): WP_Hook-
   >do_action(Array) #5 /var/www/wp-admin/plugins.php(194): do_action(‘activate_enhanc…’)#
   6 {main} thrown in **/var/www/wp-content/plugins/enhanced-media-library/enhanced-
   media-library.php** on line **828**
 * Sorry for the confusion!
 * Mike
 *  Thread Starter [mhartste](https://wordpress.org/support/users/mhartste/)
 * (@mhartste)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/php-8-67/#post-16541655)
 * I am using v2.8.9 of the Enhanced Media Library plugin on WordPress 6.1.1.

Viewing 2 replies - 1 through 2 (of 2 total)

 The topic ‘PHP 8’ is closed to new replies.

 * ![](https://ps.w.org/enhanced-media-library/assets/icon-256x256.png?rev=980107)
 * [Enhanced Media Library](https://wordpress.org/plugins/enhanced-media-library/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/enhanced-media-library/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/enhanced-media-library/)
 * [Active Topics](https://wordpress.org/support/plugin/enhanced-media-library/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/enhanced-media-library/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/enhanced-media-library/reviews/)

 * 2 replies
 * 1 participant
 * Last reply from: [mhartste](https://wordpress.org/support/users/mhartste/)
 * Last activity: [3 years, 7 months ago](https://wordpress.org/support/topic/php-8-67/#post-16541655)
 * Status: not resolved