WordPress.org

Make WordPress Core

Opened 5 years ago

Closed 5 years ago

#38095 closed defect (bug) (invalid)

From admin > posts > all posts > search for "localhost" > screen turns blank

Reported by: TorontoBoy Owned by:
Milestone: Priority: normal
Severity: normal Version: 4.6.1
Component: Posts, Post Types Keywords:
Focuses: Cc:

Description

Login to wordpress admin > posts > all posts > search for "localhost" results in the screen turning blank, url: http://dontai.com/wp/wp-admin/edit.php?s=localhost&post_status=all&post_type=post&_wpnonce=e41ab24546&_wp_http_referer=%2Fwp%2Fwp-admin%2Fedit.php&action=-1&m=0&cat=0&paged=1&action2=-1

I found the bug because I have a document that has "zero" and "localhost" in the title. If I search for "zero" I will find the document. If I search for "localhost" I get a blank screen. The post URL is: http://dontai.com/wp/2016/09/14/host-name-0-zero-in-your-raw-access-log/

I tried on another WP install, with the same results: http://dontai.com/prettybuttoner/wp-admin/edit.php?s=localhost&post_status=all&post_type=post&_wpnonce=bda443ce95&_wp_http_referer=%2Fprettybuttoner%2Fwp-admin%2Fedit.php&action=-1&m=0&cat=0&paged=1&action2=-1

I can also duplicate the error on http://garymetcalf.com/blog/wp-admin/edit.php?s=localhost&post_status=all&post_type=post&_wpnonce=7752c90914&_wp_http_referer=%2Fblog%2Fwp-admin%2Fedit.php&action=-1&m=0&cat=0&paged=1&action2=-1

This is an obscure error but an error nonetheless.

Attachments (2)

wp-post-search-for-localhost.png (26.9 KB) - added by TorontoBoy 5 years ago.
wp admin > posts > all posts > search for "localhost" results in a blank screen
dontai-wp-post-search-localhost-opera.png (33.5 KB) - added by TorontoBoy 5 years ago.
using Opera, wp admin > posts > all posts > search for "localhost" results in a "denied access" error message

Download all attachments as: .zip

Change History (6)

#1 @Clorith
5 years ago

Hi,

I'm not able to replicate this on my local install, could you perhaps make sure you are running Twenty Sixteen and have no other plugins enabled?

Also, when you say blank screen, do you mean there are no search results, or that the entire screen is white without anything at all?

If the latter, try enabling debugging as that would indicate an internal server error and should show up in any error logs

@TorontoBoy
5 years ago

wp admin > posts > all posts > search for "localhost" results in a blank screen

@TorontoBoy
5 years ago

using Opera, wp admin > posts > all posts > search for "localhost" results in a "denied access" error message

#2 @TorontoBoy
5 years ago

I deactivated all my plugins but kept my theme and the problem disappeared, i.e, the search came back with the expected results, in the admin screen.

When I say a blank screen I mean nothing on the screen, no results, no admin screen, no error, just nothing. I've added a screen cap.

Ok, I don't know what to do now. Maybe it is my issue? I have tested 2 other sites I admin and they have the same issue.

...Disabled all plugins, changed to Twentysixteen theme and problem went away. Use Opera instead of Firefox and I get a "Access to Dontai.com was denied. You do not have authorization to view this page" when I search for "localhost". Tested each plugin, one at a time, and the problem was Bad BlockQueries (BBQ). Disable this plugin, reenable all the others and the problem goes away. Enable the BBQ plugin and the problem reappears.

....On a second site, further testing reveals that by Block Bad Queries (BBQ) plugin is the culprit. When I deactivate it, reactivate all my other plugins, leave my theme alone, I do not get the error.

#3 @SergeyBiryukov
5 years ago

  • Component changed from General to Posts, Post Types

#4 @Clorith
5 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed

I would recommend contacting that plugin developer then, as this is a plugin issue, and not a problem in WordPress core.

As it's not a core issue, I've marked this ticket as invalid.

Note: See TracTickets for help on using tickets.