Should the first example in the plugin actually work?
-
This is the example after the plugin is installed:
Example 1:
[jsoncontentimporter url=”https://www.kux.de/extra/json/digimuc/location.php” numberofdisplayeditems=”30″ basenode=”location”]- {locationid} <b>{locationname:unique}</b> {street:ifNotEmptyAdd:,} {zipcode} {cityname} search duckduckgo list of events at this location: {subloop:event:5}{eventname:ifNotEmptyAdd::} {eventstart}<br>{/subloop}<hr>
[/jsoncontentimporter]
However I get:
Fatal error: Uncaught Error: Call to undefined function mb_check_encoding() in /var/www/html/wp-content/plugins/json-content-importer/class-json-parser.php:271 Stack trace: #0 /var/www/html/wp-content/plugins/json-content-importer/class-json-parser.php(247): JsonContentParser123->replacePatternWithKeyin(‘ </p>- {l…’, ‘locationtypname’, ‘Unternehmen’, ‘locationtyp’) #1 /var/www/html/wp-content/plugins/json-content-importer/class-json-parser.php(187): JsonContentParser123->replacePattern(‘ </p>
- {l…’, ‘locationtypname’, ‘Unternehmen’, ‘locationtyp’) #2 /var/www/html/wp-content/plugins/json-content-importer/class-json-parser.php(129): JsonContentParser123->checkType(Object(stdClass), ‘object’, ‘ </p>
- {l…’, ”, 4, ‘locationtyp’, NULL) #3 /var/www/html/wp-content/plugins/json-content-importer/class-json-parser.php(169): JsonContentParser123->checkType(Array, ‘array’, ‘ </p>
- {l…’, ‘locationtyp’, 3, ”, NULL) #4 /var/www/html/wp-content/plugins/json-content-importer/class-json-parser.php(135): J in /var/www/html/wp-content/plugins/json-content-importer/class-json-parser.php on line 271
The topic ‘Should the first example in the plugin actually work?’ is closed to new replies.