Looking for solution or options with export/import menu list
I don’t have a issue before but this week migrate to GoDaddy hosting i can’t import
Steps is simple.Select import .json file, Label new Menu (It fail: Error in processing!)
Hi the plugin was has been closed on the WordPress, Is there possible that you will fix it or push an update on the plugin.
]]>When trying to Import, after selecting a file and clicking “Import Menus” I get Error in processing!
The error inte log is:
TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, function “menusUnfilteredUpload” not found or invalid function name/wp-content/plugins/export-import-menus/models/DspExportImportModel.php
?in?DspExportImportModel::uploadMenusJson
?at line?137
The line is:
$movefile = wp_handle_upload( $requested_vars[‘menusfile’], $upload_overrides );
Hi all,
just to inform the plugin owner that the error causing the import to fail on 500 can be resolved changing line 136 of file wp-content/plugins/export-import-menus/models/DspExportImportModel.php from this
add_filter('map_meta_cap', 'menusUnfilteredUpload', 0, 2);
to this
add_filter('map_meta_cap', array($this, 'menusUnfilteredUpload'), 0, 2);
after this, it appears to work correctly
Cheers
Pp.
Hello All,
If anyone is facing any issues where the plugin show Error in Processing!. Please check the browser network and console to make sure there is no JavaScript conflict with other plugin and it has a permission to run AJAX. Please give the permission to WP_AJAX hook and disable other plugin that might caused an issue and then try again.
After following the above request if still anyone is facing any issue, then please raise the comment I will connect ASAP and try to resolve the issue.
]]>I have exported a menu from localhost and imported it into a live website.
During the import, I receive an error “Error in processing!”
Help appreciated.
]]>Hi, ist this plugin still updated? Get en error when importing…
best, Caspar
Hi there – I recently had a situation where the file contents returned by models/DspExportImportModel.php::urlGetContents() was causing an error (DSPMENUS_IMPORTMSG2 => “Uploaded file is either Empty or not a valid JSON file.”). Researching it, I discovered the contents being returned for the uploaded file were compressed (byte 0 was 0x1f and byte 1 was 0x8b). To fix this, just before returning the string in urlGetContents(), I added the following:
if ( $url_get_contents_data !== false &&
ord($url_get_contents_data[0]) == 0x1f &&
ord($url_get_contents_data[1]) == 0x8b )
$url_get_contents_data = gzinflate(substr($url_get_contents_data,10));
This checks to see if the content is compressed (by looking at the first two bytes, then removing the 10byte header before running it through gzinflate().
I haven’t tested this extensively but it did solve the issue I was having.
]]>I 100%’ed the translation to Dutch but I don’t see anything translated on my website… Can this be changed?
]]>Why did you make the export by ID and not slug ?
This menu Import/export is great for moving a website we rebuild instead of cloning… but the fact you do it with IDs is not practical, of course ID changed from one site to another.. only the slugs are still the same, for exemple my categories items have the same slug but the ID is now different…
I have exported a custom menu from site A and tried to import it into site B. All I get is the error message ?Error in processing!?.
I am running WordPress v5.4.2 and Export Import Menus v1.5.0.
]]>On uninstall of the plugin from the plugins page I got this in the debug log:
[02-Jul-2020 04:14:33 UTC] PHP Warning: Use of undefined constant WP_UNINSTALL_PLUGIN – assumed ‘WP_UNINSTALL_PLUGIN’ (this will throw an Error in a future version of PHP) in /home/sites/public_html/mysite/wp-content/plugins/export-import-menus/main.php on line 43
Thanks for a great plugin!
]]>This plugin is doing a great job exporting and importing menus with nested items and classes, but it seems to be returning an empty description field. Please let me know if you need more details.
]]>When trying to import a menu we get the following error:
The uploaded file could not be moved to wp-content/uploads/menus-exportimport.
Hi!
Please see this support thread @ https://www.ads-software.com/support/topic/error-sorry-you-are-not-allowed-to-access-this-page-13/
But I just wanted to say that if exporting a menu with no menu items (which is a rare case probably), this plugin will give a not accessible page. So just giving support thread that you might in the future consider empty menus however you see better fit for the user experience.
Thanks! Appreciate your plugin! GOOD WORK ??
]]>Hello , great plugin here . just a little issue i will need some help with .
when i try importing i get this everytime
https://pasteboard.co/IJhc4py.jpg
thanks in advance with your help
]]>Hi
Thanks for this great plugin, it saved my life ??
Just un minor issue:
If one of my menu link has a CSS class, said “myclass”, the imported result gives something like “a1i0s11myclass”.
Thanks
]]>When exporting some of the menus, I get this error page:
“Sorry, you are not allowed to access this page.”
Some menus export fine, others give this error page. I am logged in as a full admin. Have tried other admin logins as well and none work for the same menu export.
]]>Hi
I tried to un-install the plugin using the WP backend, but it seems that it does not work.
I deleted the folder /export-import-menus, but I think that this is not the right way.
Please debug. Thanks
]]>Like some others I’m getting the error “Uploaded file is either Empty or not a valid JSON file.” when I try to import a file I’ve created on another site. Here are the contents of my json file:
]]>Just geeting erros on import “error in processing”.
]]>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
]]>Your plugin appears to have a bug in it for many web hosts, which I tracked down and fixed.
Line 151 of DspExportImportModel.php has this line of code that uses the URL instead of the local filepath:
$uploadedfile = ! empty( $movefile['url'] )
? $movefile['url']
: $requested_vars["fileurl"];
Later on at line 170
you attempt to open that URL with file_get_contents()
, which may have worked on the system where you wrote it [but will not work in a lot of hosted environments.](https://www.google.com/search?q=php+file_get_contents+not+working). It does not work at WPEngine nor does it work in our local WPLib Box local development solution.
By changing your code to use the local filepath I was able to get your plugin to import menus:
$uploadedfile = ! empty( $movefile['file'] )
? $movefile['file']
: $requested_vars[ 'fileurl' ];
Any chance you could update your plugin to use this fix so I could use your official plugin and not have to use a forked version?
Thanks in advance.
]]>