Title: PHP 8 Compatibility
Last modified: November 15, 2022

---

# PHP 8 Compatibility

 *  Resolved [thatsmekristy](https://wordpress.org/support/users/thatsmekristy/)
 * (@thatsmekristy)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/php-8-compatibility-90/)
 * Hello,
    Is PHP 8 compatibility coming soon in a future release?
 * Thanks.

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

 *  Plugin Author [berkux](https://wordpress.org/support/users/berkux/)
 * (@berkux)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/php-8-compatibility-90/#post-16202194)
 * Hello,
 * as far as I can see the Plugin is ok with PHP8 (tested on several servers in 
   wp-debug-mode).
    If you have some trouble with JCI and PHP8 let me know, please.
 * Bernhard
 *  Thread Starter [thatsmekristy](https://wordpress.org/support/users/thatsmekristy/)
 * (@thatsmekristy)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/php-8-compatibility-90/#post-16290754)
 * Hello,
    I recently migrated a website to wpengine and when I swtich to php 8 
   these are the errors I’m seeing on the front end, I’ve censored the path:
 *     ```
       Warning: Undefined array key 0 in /nas/content/live/***/wp-content/plugins/jsoncontentimporterpro3/class-json-content-importer-pro.php on line 1979
   
       Warning: Trying to access array offset on value of type int in /nas/content/live/***/wp-content/plugins/jsoncontentimporterpro3/class-json-parser-pro.php on line 544
   
       Fatal error: Uncaught TypeError: htmlentities(): Argument #1 ($string) must be of type string, array given in /nas/content/live/***/wp-content/plugins/jsoncontentimporterpro3/class-json-parser-pro.php:754 Stack trace: #0 /nas/content/live/***/wp-content/plugins/jsoncontentimporterpro3/class-json-parser-pro.php(754): htmlentities(Array) #1 /nas/content/live/***/wp-content/plugins/jsoncontentimporterpro3/class-json-parser-pro.php(764): JsonContentParserPro->process_subloop_param('', '<div class=""><...', 'link', '') #2 /nas/content/live/***/wp-content/plugins/jsoncontentimporterpro3/class-json-parser-pro.php(253): JsonContentParserPro->process_subloop('<div class=""><...', 'link', '', '1') #3 /nas/content/live/***/wp-content/plugins/jsoncontentimporterpro3/class-json-parser-pro.php(220): JsonContentParserPro->checkType(Object(stdClass), 'object', '<div class=""><...', '', 2, '', '1', 1) #4 /nas/content/live/***/wp-content/plugins/jsoncontentimporterpro3/class-json-parser-pro.php(142): JsonContentParserPro->checkType(Array, 'array', '<div class=""><...', '', 1, '', '1', 1) #5 /nas/content/live/***/wp-content/plugins/jsoncontentimporterpro3/class-json-content-importer-pro.php(2881): JsonContentParserPro->retrieveDataAndBuildAllHtmlItems() #6 /nas/content/live/***/wp-includes/shortcodes.php(355): JsonContentImporterPro->shortcodeExecute(Array, '<div class=""><...', 'jsoncontentimpo...') #7 [internal function]: do_shortcode_tag(Array) #8 /nas/content/live/***/wp-includes/shortcodes.php(227): preg_replace_callback('/\\[(\\[?)(jsonco...', 'do_shortcode_ta...', '[jsoncontentimp...') #9 /nas/content/live/***/wp-content/themes/***/front-page.php(38): do_shortcode('[jsoncontentimp...') #10 /nas/content/live/***/wp-includes/template-loader.php(106): include('/nas/content/li...') #11 /nas/content/live/***/wp-blog-header.php(19): require_once('/nas/content/li...') #12 /nas/content/live/***/index.php(17): require('/nas/content/li...') #13 {main} thrown in /nas/content/live/***/wp-content/plugins/jsoncontentimporterpro3/class-json-parser-pro.php on line 754
       ```
   
 *  Thread Starter [thatsmekristy](https://wordpress.org/support/users/thatsmekristy/)
 * (@thatsmekristy)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/php-8-compatibility-90/#post-16290758)
 * I wanted to add, I am running the latest version of the pro plugin, 3.7.7
 *  Plugin Author [berkux](https://wordpress.org/support/users/berkux/)
 * (@berkux)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/php-8-compatibility-90/#post-16294513)
 * Hi,
 * questions on the PRO plugin at [https://jsoncontentimporter.freshdesk.com/widgets/feedback_widget/new?searchArea=no](https://jsoncontentimporter.freshdesk.com/widgets/feedback_widget/new?searchArea=no)
   only. Here those questions will be not answered, as this is the place for the
   free Plugin.
   Sorry about that,Bernhard

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

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

 * ![](https://ps.w.org/json-content-importer/assets/icon-256x256.png?rev=3464653)
 * [Get Use APIs - JSON Content Importer](https://wordpress.org/plugins/json-content-importer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/json-content-importer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/json-content-importer/)
 * [Active Topics](https://wordpress.org/support/plugin/json-content-importer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/json-content-importer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/json-content-importer/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [berkux](https://wordpress.org/support/users/berkux/)
 * Last activity: [3 years, 6 months ago](https://wordpress.org/support/topic/php-8-compatibility-90/#post-16294513)
 * Status: resolved