• Resolved sebsterxxl

    (@sebsterxxl)


    When trying to import the demo files of the NOVO theme via the OCDI plugin the import fails immediately. I already followed the instructions on the support page, increased the values in the PHP config and added the recommended lines in the functions.php of the theme. The debug file looks as follows:

    [08-Sep-2024 10:10:40 UTC] PHP Fatal error: Uncaught TypeError: strpos(): Argument #1 ($haystack) must be of type string, array given in /var/www/vhosts/strzelecki.de/httpdocs/wp-content/plugins/envato-market/inc/class-envato-market-github.php:160
    Stack trace: 0 /var/www/vhosts/strzelecki.de/httpdocs/wp-content/plugins/envato-market/inc/class-envato-market-github.php(160): strpos(Array, ‘//api.wordpress…’) 1 /var/www/vhosts/strzelecki.de/httpdocs/wp-includes/class-wp-hook.php(324): Envato_Market_Github->update_check(Array, Array) 2 /var/www/vhosts/strzelecki.de/httpdocs/wp-includes/plugin.php(205): WP_Hook->apply_filters(Array, Array) 3 /var/www/vhosts/strzelecki.de/httpdocs/wp-includes/class-wp-http.php(234): apply_filters(‘http_request_ar…’, Array, Array) 4 /var/www/vhosts/strzelecki.de/httpdocs/wp-includes/class-wp-http.php(638): WP_Http->request(Array, Array) 5 /var/www/vhosts/strzelecki.de/httpdocs/wp-includes/http.php(184): WP_Http->get(Array, Array) 6 /var/www/vhosts/strzelecki.de/httpdocs/wp-content/plugins/one-click-demo-import/inc/Downloader.php(63): wp_remote_get(Array, Array) 7 /var/www/vhosts/strzelecki.de/httpdocs/wp-content/plugins/one-click-demo-import/inc/Downloader.php(36): OCDI\Downloader->get_content_from_url(Array) 8 /var/www/vhosts/strzelecki.de/httpdocs/wp-content/plugins/one-click-demo-import/inc/Helpers.php(84): OCDI\Downloader->download_file(Array, ‘demo-content-im…’) 9 /var/www/vhosts/strzelecki.de/httpdocs/wp-content/plugins/one-click-demo-import/inc/OneClickDemoImport.php(330): OCDI\Helpers::download_import_files(Array) 10 /var/www/vhosts/strzelecki.de/httpdocs/wp-includes/class-wp-hook.php(324): OCDI\OneClickDemoImport->import_demo_data_ajax_callback(”) 11 /var/www/vhosts/strzelecki.de/httpdocs/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(”, Array) 12 /var/www/vhosts/strzelecki.de/httpdocs/wp-includes/plugin.php(517): WP_Hook->do_action(Array) 13 /var/www/vhosts/strzelecki.de/httpdocs/wp-admin/admin-ajax.php(192): do_action(‘wp_ajax_ocdi_im…’) 14 {main}

    thrown in /var/www/vhosts/strzelecki.de/httpdocs/wp-content/plugins/envato-market/inc/class-envato-market-github.php on line 160

    Can anyone help?

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.