( ! ) 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.0001397304{main}( ).../index.php:0 20.0002399344require( '/home/andyinf/magnior.com/wp-blog-header.php' ).../index.php:17 30.169832706072require_once( '/home/andyinf/magnior.com/wp-includes/template-loader.php' ).../wp-blog-header.php:19 40.171232725944include( '/home/andyinf/magnior.com/wp-content/themes/ab-theme/single-knowledgebase.php' ).../template-loader.php:74 50.171232725944get_header( ).../single-knowledgebase.php:2 60.171232726320locate_template( ).../general-template.php:41 70.171232726416load_template( ).../template.php:647 80.171332747040require_once( '/home/andyinf/magnior.com/wp-content/themes/ab-theme/header.php' ).../template.php:688 90.172432757784get_the_excerpt( ).../header.php:40 100.172432757784apply_filters( ).../post-template.php:381 110.172432758184WP_Hook->apply_filters( ).../plugin.php:203 120.172432759688wp_trim_excerpt( ).../class-wp-hook.php:288 130.172432759688get_the_content( ).../formatting.php:3337 " /> 404 – Page Not Found – Magnior

404 – Page Not Found

While you work hard to make sure that every link actually goes to a specific web page on your site, there is always a chance that you click on link that becomes a famous 404 – Page not found. This can happen for various number of reasons.

The most probable reason for 404 page is that something is set wrong in the permalinks settings.
You may set them in Dashboard > Settings > Permalinks, but in case that doesn’t work, you’ll have to modify your .htaccess file.
You can read more about .htaccess file here.

The .htaccess file is in your WordPress root folder (not in the theme).
Log in to the site via FTP.
The dot before its name means that the file is hidden by default.

Note that messing with .htaccess file should be done as a last resort.

404 page

Here are some other solutions to fix 404 error:

  • Refresh the web page by pressing F5, clicking the refresh/reload button, or trying the URL from the address bar again.
  • Check for any errors in the URL. Often times 404 error appears because the URL was typed wrong or the link that was clicked on points to the wrong URL.
  • Move up one directory level at a time in the URL until you find something. For example, if www.somepage.com/1/2/3.html gave you the 404 error, move up to www.somepage.com/1/2/. If you get nothing here (or an error), move up to www.somepage.com/1/. This should lead you towards what you’re looking for, or at least confirm that it’s no longer available.
  • Clear your browser’s cache – if you have any indication that the 404 message might just be yours. For example, if you can reach the URL from your phone but not from your tablet, clearing the cache on your tablet’s browser might help.
Next article