New answers tagged 500-internal-error
I am not an expert, but you have a couple of issues here Firstly, is_archive() should be an object of $query. You should also just target the front end with your function. Remember, pre_get_posts alters all instances of WP_Query, front end and backend. So this line if(is_archive() && $query->is_main_query()) : should look something like this ...
I think php version is issue , Add following code to .htaccess and then try to upload : AddType x-mapp-php5 .php AddHandler x-mapp-php5 .php
after change your memory limit , open your web page in some other browser or delete all your history and cache values in your browsr,,,,
Top 50 recent answers are included