Unyson icon indicating copy to clipboard operation
Unyson copied to clipboard

blank page : Notice: Undefined offset: 0 class-wp-query.php on line 3080

Open schroll opened this issue 9 years ago • 2 comments

Hello, There is a conflict between Unyson and my theme, when I activate Unyson, my site is inaccessible if I am not logged to the admin. Thank you for your help. http://le1513.com/

schroll avatar Dec 15 '16 09:12 schroll

Disable all extensions and see if any are causing the problem. It's strange that Unyson is causing this. What theme are you using?

If you read the error message, look in Wordpress' class-wp-query.php line 3080:

$this->post = $this->posts[$this->current_post];

Wordpress is not finding the current post in the array of posts, the index is probably too big.

Your theme could be using the_post() too many times. Look in {yourtheme}/index.php, {yourtheme}/page.php, {yourtheme}/archive.php, etc. Check that have_posts() is being used in the loop.

albertso avatar Dec 18 '16 18:12 albertso

Hi,

The problem was in theme, caused by the Coming Soon script.

ghost avatar Dec 20 '16 08:12 ghost