Site doesnť work

Hi, i dont know why, bud my site www.piseckypivovar.cz doesnt work. Its shows this: 


Notice: Undefined index: sort in /home/web/piseckypivovar.cz/htdocs/www/index.php on line 2
/** * Front to the WordPress application. This file doesn't do anything, but loads * wp-blog-header.php which does and tells WordPress to load the theme. * * @package WordPress */ /** * Tells WordPress to load the WordPress theme and output it. * * @var bool */ define('WP_USE_THEMES', true); /** Loads the WordPress Environment and Template */ require( dirname( __FILE__ ) . '/wp-blog-header.php' );

I can login inside but there is no option to fix that. Thank you for help

Comments

  • This seems to be an error with your server and wordpress overall rather than this theme.

    The first issue is that the wordpress index.php file shouldn't be calling sort for any reason that I know of (it might use sort for a multisite install, but I've not used that). There should generally only be two functions being called.

    The second thing that seems off to me is that it's outputting the rest of the file as plaintext. It shouldn't be showing those comments surrounded by /* */. This could be caused by a server being set up improperly. It does look like PHP is working right because it's erroring, but I've not personally had the rest of the file's content displayed after an error like that.
  • Superaffiliate
    Please contact your hosting provider, this is not theme related. Pokemans is right.
    thanks
Sign In or Register to comment.
This website uses cookies

We use cookies to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners who may combine it with other information that you’ve provided to them or that they’ve collected from your use of their services.

Cookies are small text files that can be used by websites to make a user's experience more efficient.

The law states that we can store cookies on your device if they are strictly necessary for the operation of this site. For all other types of cookies we need your permission. This means that cookies which are categorized as necessary, are processed based on GDPR Art. 6 (1) (f). All other cookies, meaning those from the categories preferences and marketing, are processed based on GDPR Art. 6 (1) (a) GDPR.

This site uses different types of cookies. Some cookies are placed by third party services that appear on our pages.

You can at any time change or withdraw your consent from the Cookie Declaration on our website.

Learn more about who we are, how you can contact us and how we process personal data in our Privacy Policy.

Please state your consent ID and date when you contact us regarding your consent.