WPIntell

Source evidence

Not A Valid Json File

Export Import Menus · support · 2019-01-09T16:36:00+00:00

mixedsentiment
mediumseverity
0.78relevance
3replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

3 / 19 rows with source links

15.8% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

16 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
mlangone resolved
I exported menu then went to import, received the not a valid json file or file contents empty error. Is this something that is supposed to happen. As of now the plugin does not work. ML Hi @mlangone , Could you please share the JSON file that you’re trying to import so that we can reproduce the issue or let me know the steps to reproduce it. Thanks, Akshay Menariya I was getting same error, ended changing line 179 in file export-import-menus\models\DspExportImportModel.php with $content = json_decode(file_get_contents(str_replace(WP_CONTENT_URL, WP_CONTENT_DIR, $uploadedfile))); Hi woptima and mlangone, Thanks for letting this to me, I have fixed the issue and released the new latest version. Please let me know, if new version will works for you or not. Thanks, Akshay Menariya

Comments

3 shown
Akshay Menariya 2019-01-10T10:14:00+00:00

Hi @mlangone , Could you please share the JSON file that you’re trying to import so that we can reproduce the issue or let me know the steps to reproduce it. Thanks, Akshay Menariya

woptima 2019-02-20T15:25:00+00:00

I was getting same error, ended changing line 179 in file export-import-menus\models\DspExportImportModel.php with $content = json_decode(file_get_contents(str_replace(WP_CONTENT_URL, WP_CONTENT_DIR, $uploadedfile)));

Akshay Menariya 2019-03-01T16:03:00+00:00

Hi woptima and mlangone, Thanks for letting this to me, I have fixed the issue and released the new latest version. Please let me know, if new version will works for you or not. Thanks, Akshay Menariya