Divi Invalid File Format. You Should Be Uploading a Json File.

Thread Starter MeTP

(@metp)

WordPress Version: 5.1.1
PHP Version: vii.iii.iv
PHP Memory Limit: 256M
MySQL Version: 5.half-dozen.36-82.1-log

Hi @metp ,

Cheers for sharing an consequence. I will look into it and get back to yous. Every bit far equally i see your JSON code, there is only single divergence of apostrophe i.e. (") & (").

Thank you,
Akshay Menariya

Hi @metp ,

Can you please replace existing JSON file code with the below lawmaking, and so import the file and let me know will you able to upload the Menus or not. I supercede three double quotes (", ", ″) with this quote(") in your given JSON lawmaking and it uploaded successfully for me. Information technology would be great if you tin can let me know how you export the menus considering when i am exporting the menus file it doesn't including the above three special apostrophes (", ", ″) in my generated file only information technology's including in your file.

  • This answer was modified ii years, 11 months ago past Andrew Nevins. Reason: Removed large code snippet

Andrew Nevins

(@anevins)

WCLDN 2018 Contributor | Volunteer support

Y'all guys need to use a code sharing service instead of posting large snippets directly on the forums. Utilize PasteBin for instance.

Hello @anevins ,

Certain, i will utilize aforementioned in future.

Thank you,
Akshay

Hi Akshay,
Starting time of all thank you lot for providing united states this plug-in.
I myself am experiencing an error after updating the plugin to v1.4.0.

Menus are successfully exported but cannot be imported.
Error Message "Uploaded file is either Empty or non a valid JSON file".

Copy of the file is in pastebin https://pastebin.com/BRCCxGsz

Thanks once more,
Gerry

How-do-you-do @gerrysilva ,

Thanks for your support. could you please bank check the extension of file is .json. As I have converted your given file into the JSON file and then imported into my local WP system and it has imported successfully. It created total 9 Bill of fare items out of which eight are pages and 1 is custom link (Change password). Please check with the screenshot – https://prnt.sc/oz10gg (FYI..In the screenshot your page Id'due south are replaced with my local Page Id's that's why they are showing unlike page title).

Screenshot URL – https://prnt.sc/oz10gg

Do let us know if still you're facing any issue.

Thanks,
Akshay Menariya

Hullo Akshay,
Cheers for this plugin, it may assist me a lot.
I take the same trouble, I can export just tin can't import menus, here you tin find the copy of the file: https://pastebin.com/GAvgrWqq
Cheers.

I also get the aforementioned "Uploaded file is either Empty or non a valid JSON file." when trying to import. I've run the content on the JSON file through different JSON validators and they say the JSON is correct and valid. When I try to import, I can encounter for split second a green text that appears to indicate success, and so it changes to the red fault text. Help is appreciated.

Hi @peteringersoll,

Thanks for reporting an outcome, Could yous please provide me an exported JSON file that you lot're trying to import, then that i can reproduce this issue. Besides, please share other details that y'all wish to share that might be helpful to reproduce this consequence like anything unique in your WP setup or whatever other info.

Thank you,
Akshay Menariya

Howdy @peteringersoll , @gerrysilva , @frederickcavender , @anevins

Guys i tried to reproduce this issue only information technology couldn't. Can you please update the plugin to the latest version and allow me know if yous're still facing same issue, please share the more than details like organization config, Os, WP verison, other active plugins etc with me so that i can reproduce the result.

Thanks,
Akshay Menariya

dadswellbehen1974.blogspot.com

Source: https://wordpress.org/support/topic/error-uploaded-file-is-either-empty-or-not-a-valid-json-file/

0 Response to "Divi Invalid File Format. You Should Be Uploading a Json File."

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel