( ! ) Warning: count(): Parameter must be an array or an object that implements Countable in /home/andyinf/magnior.com/wp-includes/post-template.php on line 284 Call Stack #TimeMemoryFunctionLocation 10.0001397336{main}( ).../index.php:0 20.0002399376require( '/home/andyinf/magnior.com/wp-blog-header.php' ).../index.php:17 30.171532704768require_once( '/home/andyinf/magnior.com/wp-includes/template-loader.php' ).../wp-blog-header.php:19 40.173132724640include( '/home/andyinf/magnior.com/wp-content/themes/ab-theme/single-knowledgebase.php' ).../template-loader.php:74 50.173132724640get_header( ).../single-knowledgebase.php:2 60.173132725016locate_template( ).../general-template.php:41 70.173132725112load_template( ).../template.php:647 80.173232745736require_once( '/home/andyinf/magnior.com/wp-content/themes/ab-theme/header.php' ).../template.php:688 90.174532756480get_the_excerpt( ).../header.php:40 100.174532756480apply_filters( ).../post-template.php:381 110.174532756880WP_Hook->apply_filters( ).../plugin.php:203 120.174532758384wp_trim_excerpt( ).../class-wp-hook.php:288 130.174532758384get_the_content( ).../formatting.php:3337 " /> Error When I Try To Upload theme.zip – Magnior

Error When I Try To Upload theme.zip

If you attempted to import our theme demo content, but it never completed the installation process or it failed with errors, there could be several reasons.
Some of the possible issues are:

– Your PHP memory, file upload size, and/or execution time limits are set too low
– Your web host uses process watching software that prevents bulk processing on their web servers
– You have ‘wp_debug = true’, please change that to ‘wp_debug = false’ for the import in your wp-config.php file
– The import uses a JSON file which is loaded from the front end of the website, this will not work when the domain is not connected to the WordPress installation.

You can also read our recommended PHP Configuration Limits. If the import stops responding after a few minutes or it fails with message like ‘Import failed’, your configuration limits are set too low to complete the process. In that case, please contact your web host and ask them to increase limits as follows:

max_execution_time 180
memory_limit 128M
post_max_size 32M
upload_max_filesize 32M

Next article