Home Forums Casa – Furniture WooCommerce Theme Import Demo content error 500

Import Demo content error 500

  • Author
    Posts
  • #48201

    hg8
    Participant

      Hello, hope you are doing well.
      I am trying to import demo content but I get hit with 500 errors every-times on a fresh new WordPress install.

      I get the same error when I use “Import Now” or “Import Without Media”.

      Importing …
      Importing the demo theme options…DONE!
      Importing the demo widgets… DONE!.
      Importing data: contact.xml 1 of 11 … DONE!
      {“code”:”internal_server_error”,”message”:”
      There has been a critical error on this website. Please check your site admin email inbox for instructions.<\/p>

      Learn more about troubleshooting WordPress.<\/a><\/p>”,”data”:{“status”:500},”additional_errors”:[]}

      Stop Working

      Here is the error that gets logged server side:

      
      2022/02/20 21:42:28 [error] 61305#61305: *52 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Uncaught TypeError: in_array(): Argument #2 ($haystack) must be of type array, null given in /var/www/<redacted>.com/htdocs/wp-content/plugins/7up-core/libs/includes/admin/responsive_build.php:58
      Stack trace:
      #0 /var/www/<redacted>.com/htdocs/wp-content/plugins/7up-core/libs/includes/admin/responsive_build.php(58): in_array()
      #1 /var/www/<redacted>.com/htdocs/wp-content/plugins/7up-core/libs/includes/admin/responsive_build.php(42): S7upfResVCBuildCSS->build_css()
      #2 /var/www/<redacted>.com/htdocs/wp-includes/class-wp-hook.php(309): S7upfResVCBuildCSS->save_post()
      #3 /var/www/<redacted>.com/htdocs/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
      #4 /var/www/<redacted>.com/htdocs/wp-includes/plugin.php(474): WP_Hook->do_action()
      #5 /var/www/<redacted>.com/htdocs/wp-includes/post.php(4686): do_action()
      #6 /var/www/<redacted>.com/htdocs/wp-content/plugins/7up-core/libs/importer/wordpress-importer.php(699): wp_insert_post()
      #7 /var/www/<redacted>.com/htdocs/wp-content/" while reading response header from upstream, client: 92.139.224.5, server: <redacted>.com, request: "POST /wp-admin/admin.php?page=svp_importer&7up_do_import=1&media=1&package=data&step=3&file_number=1 HTTP/2.0", upstream: "fastcgi://unix:/var/run/php/php80-fpm.sock:", host: "<redacted>.com", referrer: "https://<redacted>.com/wp-admin/admin.php?page=svp_importer"
      

      I correctly configured my server according to this post: https://forum.7uptheme.net/forums/topic/import-demo-content-error/.

      PHP.ini:

      
      max_input_time = 6000
      memory_limit = 128M
      max_execution_time = 6000
      post_max_size = 100M
      upload_max_filesize = 100M
      

      wp-config.php

      
      set_time_limit (600);
      

      Can you provide guidance on how to solve this issue ?

      Thanks a lot,

      • This topic was modified 11 months, 2 weeks ago by  hg8.
      • This topic was modified 11 months, 2 weeks ago by  hg8. Reason: Add php.ini info
      Attachments:
      You must be logged in to view attached files.

    You must be logged in to reply to this topic. Click here to login or register