Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author berkux

    (@berkux)

    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

    (@thatsmekristy)

    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

    (@thatsmekristy)

    I wanted to add, I am running the latest version of the pro plugin, 3.7.7

    Plugin Author berkux

    (@berkux)

    Hi,

    questions on the PRO plugin at 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.