Fatal Error on import custom fields
- This topic has 6 replies, 4 voices, and was last updated 1 month, 1 week ago by Peter. 
- 
		AuthorPosts
- 
		
			
				
September 11, 2025 at 2:28 PM #48967Ole Poetter ParticipantHi, I would like to import a custom field set, but get a fatal error: Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /wp-content/plugins/meta-box-builder-ui/src/Import.php:97 Stack trace: #0 /wp-content/plugins/meta-box-builder-ui/src/Import.php(49): MBB\Import->import_json() #1 /wp-includes/class-wp-hook.php(324): MBB\Import->import() #2 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #3 /wp-includes/plugin.php(517): WP_Hook->do_action() #4 /wp-admin/admin.php(176): do_action() #5 /wp-admin/edit.php(10): require_once('...') #6 {main} thrown in /wp-content/plugins/meta-box-builder-ui/src/Import.php on line 97Kind regards, 
 OleSeptember 11, 2025 at 8:50 PM #48971Peter ModeratorHello Ole, Thanks for reaching out. What is the Meta Box Builder version on your site? Please update this plugin to the latest version 5.0.1 or use the plugin Meta Box AIO 3.0.1 and recheck the issue. If it doesn't help, please share the import file with me. I will try to import it to my demo site and investigate the issue. September 17, 2025 at 5:47 AM #48990[email protected] ParticipantI am getting this fatal error: PHP Parse error: syntax error, unexpected ':', expecting ')' in /home/mbaguidi/public_html/wp-content/plugins/meta-box-aio/src/Tools.php on line 466\n I have version Version 5.10.14 I can't activate the pro version Meta Box AIO Version 3.1.0, when I do it I can't get into my WP back end, I get this error: There has been a critical error on this website. Please check your site admin email inbox for instructions. If you continue to have problems, please try the support forums. September 17, 2025 at 8:22 AM #48991T D Participantgetting the same error as Morrow Jeff September 17, 2025 at 1:18 PM #48992Ole Poetter ParticipantHi Peter, I tried it again on withe the latest Version auf Metabox AIO and got the same error. Here is the json: 
 {
 "$schema": "https://schemas.metabox.io/field-group.json",
 "fields": [
 {
 "type": "single_image",
 "id": "sc_screenshot",
 "name": "Screenshot",
 "force_delete": true
 },
 {
 "type": "textarea",
 "id": "sc_beschreibung",
 "name": "Beschreibung"
 },
 {
 "type": "url",
 "id": "sc_url",
 "name": "Url"
 },
 {
 "type": "text",
 "id": "verwendete_addons",
 "name": "verwendete Addons"
 },
 {
 "type": "text",
 "id": "verwendete_vorlagen",
 "name": "verwendete Vorlagen"
 },
 {
 "type": "text",
 "id": "verwendete_frameworks",
 "name": "verwendete Frameworks"
 },
 {
 "type": "text",
 "id": "verwendete_tools",
 "name": "verwendete Tools"
 }
 ],
 "id": "showcase-fields",
 "modified": 1755157515,
 "post_types": [
 "showcase"
 ],
 "title": "showcase Fields"
 }`
 `Kind regards, 
 OleSeptember 17, 2025 at 6:12 PM #48994Ole Poetter ParticipantFound my issue. On the site where I wanted to import, the alpha version of MB Builder 5 was still installed and active. Kind regards, 
 OleSeptember 17, 2025 at 8:54 PM #48999Peter ModeratorHello Jeff, Please update Meta Box AIO to new version 3.1.1 to fix this issue. Thank you. 
- 
		AuthorPosts
- You must be logged in to reply to this topic.