Home›Support›English Support›[Escalated to WPML Developers team] I can't import through All Import, and I get an error saying it is one of your plugins.
[Escalated to WPML Developers team] I can't import through All Import, and I get an error saying it is one of your plugins.
This is the technical support forum for WPML - the multilingual WordPress plugin.
Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.
Yes, I saw your update because you replied here. I'm in the process of making a copy of your site. It is very big, and it is taking time to download. I'll update you here once I have more findings.
To enable it, open your wp-config.php file and look for
define('WP_DEBUG', false);
Change it to:
define('WP_DEBUG', true);
// Enable Debug logging to the /wp-content/debug.log file
define('WP_DEBUG_LOG', true);
// Disable display of errors and warnings
define('WP_DEBUG_DISPLAY', false);
@ini_set('display_errors', 0);
After this, repeat the action that causes the problem on your site. Import the file (as you did in the video), and get to the point that it fails. The errors will be saved to a debug.log log file inside the /wp-content/ directory. Then please share the errors with us.
Hello there. I have done it to my local instance. Tell me if this is usefull.
[01-Jul-2024 08:56:10 UTC] PHP Notice: Trying to access array offset on value of type null in C:\Users\msj\Local Sites\Jumbo\app\public\wp-content\plugins\wp-all-import-pro\classes\PHPExcel\Reader\Excel2007.php on line 457
[01-Jul-2024 09:01:32 UTC] PHP Notice: Trying to access array offset on value of type null in C:\Users\msj\Local Sites\Jumbo\app\public\wp-content\plugins\wp-all-import-pro\classes\PHPExcel\Reader\Excel2007.php on line 457
[01-Jul-2024 09:01:43 UTC] PHP Notice: Trying to access array offset on value of type null in C:\Users\msj\Local Sites\Jumbo\app\public\wp-content\plugins\wp-all-import-pro\classes\PHPExcel\Reader\Excel2007.php on line 457
[01-Jul-2024 09:09:11 UTC] PHP Fatal error: Uncaught TypeError: Argument 1 passed to WPML_ACF_Post_Ids::{closure}() must be of the type string, null given in C:\Users\msj\Local Sites\Jumbo\app\public\wp-content\plugins\acfml\classes\class-wpml-acf-post-ids.php:44
Stack trace:
#0 [internal function]: WPML_ACF_Post_Ids->{closure}(NULL)
#1 C:\Users\msj\Local Sites\Jumbo\app\public\wp-content\plugins\acfml\classes\class-wpml-acf-post-ids.php(46): array_map(Object(Closure), Array)
#2 C:\Users\msj\Local Sites\Jumbo\app\public\wp-content\plugins\acfml\classes\class-wpml-acf-post-ids.php(28): WPML_ACF_Post_Ids->convertStringOrArrayOfStringsLayer(Array, Object(WPML_ACF_Gallery_Field))
#3 C:\Users\msj\Local Sites\Jumbo\app\public\wp-content\plugins\acfml\classes\class-wpml-acf-post-ids.php(13): WPML_ACF_Post_Ids->convertSerializationLayer(Object(WPML_ACF_Gallery_Field))
#4 C:\Users\msj\Local Sites\Jumbo\app\public\wp-content\plugins\acfml\classes\class-wpml-acf-field.php(36): WPML_ACF_Post_Ids->convert(Object(WPML_ACF_Gallery_Field))
#5 C:\Users\msj\Local Sites\ in C:\Users\msj\Local Sites\Jumbo\app\public\wp-content\plugins\acfml\classes\class-wpml-acf-post-ids.php on line 44
[01-Jul-2024 09:09:20 UTC] PHP Fatal error: Uncaught TypeError: Argument 1 passed to WPML_ACF_Post_Ids::{closure}() must be of the type string, null given in C:\Users\msj\Local Sites\Jumbo\app\public\wp-content\plugins\acfml\classes\class-wpml-acf-post-ids.php:44
Stack trace:
#0 [internal function]: WPML_ACF_Post_Ids->{closure}(NULL)
#1 C:\Users\msj\Local Sites\Jumbo\app\public\wp-content\plugins\acfml\classes\class-wpml-acf-post-ids.php(46): array_map(Object(Closure), Array)
#2 C:\Users\msj\Local Sites\Jumbo\app\public\wp-content\plugins\acfml\classes\class-wpml-acf-post-ids.php(28): WPML_ACF_Post_Ids->convertStringOrArrayOfStringsLayer(Array, Object(WPML_ACF_Gallery_Field))
#3 C:\Users\msj\Local Sites\Jumbo\app\public\wp-content\plugins\acfml\classes\class-wpml-acf-post-ids.php(13): WPML_ACF_Post_Ids->convertSerializationLayer(Object(WPML_ACF_Gallery_Field))
#4 C:\Users\msj\Local Sites\Jumbo\app\public\wp-content\plugins\acfml\classes\class-wpml-acf-field.php(36): WPML_ACF_Post_Ids->convert(Object(WPML_ACF_Gallery_Field))
#5 C:\Users\msj\Local Sites\ in C:\Users\msj\Local Sites\Jumbo\app\public\wp-content\plugins\acfml\classes\class-wpml-acf-post-ids.php on line 44
[01-Jul-2024 09:09:29 UTC] PHP Fatal error: Uncaught TypeError: Argument 1 passed to WPML_ACF_Post_Ids::{closure}() must be of the type string, null given in C:\Users\msj\Local Sites\Jumbo\app\public\wp-content\plugins\acfml\classes\class-wpml-acf-post-ids.php:44
Stack trace:
#0 [internal function]: WPML_ACF_Post_Ids->{closure}(NULL)
#1 C:\Users\msj\Local Sites\Jumbo\app\public\wp-content\plugins\acfml\classes\class-wpml-acf-post-ids.php(46): array_map(Object(Closure), Array)
#2 C:\Users\msj\Local Sites\Jumbo\app\public\wp-content\plugins\acfml\classes\class-wpml-acf-post-ids.php(28): WPML_ACF_Post_Ids->convertStringOrArrayOfStringsLayer(Array, Object(WPML_ACF_Gallery_Field))
#3 C:\Users\msj\Local Sites\Jumbo\app\public\wp-content\plugins\acfml\classes\class-wpml-acf-post-ids.php(13): WPML_ACF_Post_Ids->convertSerializationLayer(Object(WPML_ACF_Gallery_Field))
#4 C:\Users\msj\Local Sites\Jumbo\app\public\wp-content\plugins\acfml\classes\class-wpml-acf-field.php(36): WPML_ACF_Post_Ids->convert(Object(WPML_ACF_Gallery_Field))
#5 C:\Users\msj\Local Sites\ in C:\Users\msj\Local Sites\Jumbo\app\public\wp-content\plugins\acfml\classes\class-wpml-acf-post-ids.php on line 44
[01-Jul-2024 09:09:37 UTC] PHP Fatal error: Uncaught TypeError: Argument 1 passed to WPML_ACF_Post_Ids::{closure}() must be of the type string, null given in C:\Users\msj\Local Sites\Jumbo\app\public\wp-content\plugins\acfml\classes\class-wpml-acf-post-ids.php:44
Stack trace:
#0 [internal function]: WPML_ACF_Post_Ids->{closure}(NULL)
#1 C:\Users\msj\Local Sites\Jumbo\app\public\wp-content\plugins\acfml\classes\class-wpml-acf-post-ids.php(46): array_map(Object(Closure), Array)
#2 C:\Users\msj\Local Sites\Jumbo\app\public\wp-content\plugins\acfml\classes\class-wpml-acf-post-ids.php(28): WPML_ACF_Post_Ids->convertStringOrArrayOfStringsLayer(Array, Object(WPML_ACF_Gallery_Field))
#3 C:\Users\msj\Local Sites\Jumbo\app\public\wp-content\plugins\acfml\classes\class-wpml-acf-post-ids.php(13): WPML_ACF_Post_Ids->convertSerializationLayer(Object(WPML_ACF_Gallery_Field))
#4 C:\Users\msj\Local Sites\Jumbo\app\public\wp-content\plugins\acfml\classes\class-wpml-acf-field.php(36): WPML_ACF_Post_Ids->convert(Object(WPML_ACF_Gallery_Field))
#5 C:\Users\msj\Local Sites\ in C:\Users\msj\Local Sites\Jumbo\app\public\wp-content\plugins\acfml\classes\class-wpml-acf-post-ids.php on line 44
[01-Jul-2024 09:09:46 UTC] PHP Fatal error: Uncaught TypeError: Argument 1 passed to WPML_ACF_Post_Ids::{closure}() must be of the type string, null given in C:\Users\msj\Local Sites\Jumbo\app\public\wp-content\plugins\acfml\classes\class-wpml-acf-post-ids.php:44
Stack trace:
#0 [internal function]: WPML_ACF_Post_Ids->{closure}(NULL)
#1 C:\Users\msj\Local Sites\Jumbo\app\public\wp-content\plugins\acfml\classes\class-wpml-acf-post-ids.php(46): array_map(Object(Closure), Array)
#2 C:\Users\msj\Local Sites\Jumbo\app\public\wp-content\plugins\acfml\classes\class-wpml-acf-post-ids.php(28): WPML_ACF_Post_Ids->convertStringOrArrayOfStringsLayer(Array, Object(WPML_ACF_Gallery_Field))
#3 C:\Users\msj\Local Sites\Jumbo\app\public\wp-content\plugins\acfml\classes\class-wpml-acf-post-ids.php(13): WPML_ACF_Post_Ids->convertSerializationLayer(Object(WPML_ACF_Gallery_Field))
#4 C:\Users\msj\Local Sites\Jumbo\app\public\wp-content\plugins\acfml\classes\class-wpml-acf-field.php(36): WPML_ACF_Post_Ids->convert(Object(WPML_ACF_Gallery_Field))
#5 C:\Users\msj\Local Sites\ in C:\Users\msj\Local Sites\Jumbo\app\public\wp-content\plugins\acfml\classes\class-wpml-acf-post-ids.php on line 44
Thanks for sharing the errors you found. I've shared them with our second-tier supporters. We will keep you updated here for any news regarding this issue.
Please know that this is an untested scenario, and you should consider testing it first in a safe staging environment.
**** Important! Please make a full site backup (files and DB) before you proceed with those steps****
We will update you once we have news about this issue from our developers.
Hello. I have just tested it in my staging environment. It seems to be working, which is great. I will be making a backup of my current live site and then give it a go there as well. The server did terminate the process at the start, but I think that was a fault in allimport pro, and after pressing the button to try again with a smaller increment of import lines, it worked like a charm.
Thanks a bunch.
I will look forward to hearing more from your developers.