Hi @dadeji,
I would say that it’s a server related issue, because it can’t process the import, due to some server limitation. We would just need to know what the limitation is.
I would first advise you to enable WP debugging mode (read how to enable it here), try the import again and see if any WP errors are present in your WP Debug log file.
When the error happens, is any of the content imported? Post, Page, Images, …?
What happens if you try import the demo content a few times, one after the other, when it fails. It will continue from the previous items, if you run it again after it fails (in the span of 5 minutes). So please try to run it 3-5 times and let me know if it will finish in all those tries.
Take care!
Thread Starter
dadeji
(@dadeji)
Hi, thank you for the reply.
I have enabled the debugging mode and these are the messages when I activate the Papr theme:
Deprecated: Required parameter $thumb_size follows optional parameter $class in /home3/bgscient/public_html/wp-content/themes/papr/inc/helper/post-image-trait.php on line 18
Deprecated: Required parameter $thumb_size follows optional parameter $class in /home3/bgscient/public_html/wp-content/themes/papr/inc/helper/post-image-trait.php on line 24
Deprecated: Required parameter $thumb_size follows optional parameter $class in /home3/bgscient/public_html/wp-content/themes/papr/inc/helper/post-image-trait.php on line 31
Deprecated: Required parameter $thumb_size follows optional parameter $class in /home3/bgscient/public_html/wp-content/themes/papr/inc/helper/post-image-trait.php on line 41
Deprecated: Required parameter $thumb_size follows optional parameter $class in /home3/bgscient/public_html/wp-content/themes/papr/inc/helper/post-image-trait.php on line 62
Warning: Cannot modify header information – headers already sent by (output started at /home3/bgscient/public_html/wp-content/themes/papr/inc/helper/post-image-trait.php:18) in /home3/bgscient/public_html/wp-admin/includes/misc.php on line 1431
Warning: Cannot modify header information – headers already sent by (output started at /home3/bgscient/public_html/wp-content/themes/papr/inc/helper/post-image-trait.php:18) in /home3/bgscient/public_html/wp-includes/functions.php on line 6896
Warning: Cannot modify header information – headers already sent by (output started at /home3/bgscient/public_html/wp-content/themes/papr/inc/helper/post-image-trait.php:18) in /home3/bgscient/public_html/wp-admin/admin-header.php on line 9
Thread Starter
dadeji
(@dadeji)
I have solved those anticipating some variables in those functions:
example before: public static function get_single_generate_img($post, $class = “”,$thumb_size)
example after:public static function get_single_generate_img($post, $thumb_size, $class = “”)
Then I have used one demo import to import demo data, but after processing some minutes…it appears the same 503 error without any message in the debug log.
Hi @dadeji,
thank you for providing more information. None of the warnings from above could cause the issues you are experiencing.
Since the error is a “503 error”, I think your server runs out of memory or is blocked by some other resource being exhausted. I would suggest checking your server resources, more info can be found on our Import issues docs page.
Take care!
Hello,
I’m marking this issue as resolved since we haven’t heard from you. Please feel free to re-open this issue if you still need help. Thank you!