bobbingwide / genesis-SB

Genesis-SB - Specially Built for seriously bonkers.com / bigram.co.uk
https://seriouslybonkers.com
GNU General Public License v2.0
0 stars 0 forks source link

Why page 168? #19

Open bobbingwide opened 5 years ago

bobbingwide commented 5 years ago

when i visited the site today the recent post widget started from page 168. why? D2BCD7C7-66D4-486A-A1EB-5F3208C475AC

bobbingwide commented 5 years ago

The problem seems to have gone away. The daily trace summary shows that I made 7 requests from a particular IP address. None of them passed a bwscid1= parameter of 168. There's no other trace information so we can't see what happened. Closing as URP - Unable To Reproduce.

bobbingwide commented 5 years ago

It’s happened again. I think i’ve Traced it. This time it’s page 2 9CC3240E-8DE4-487B-AA6C-61E91CF019CE

bobbingwide commented 5 years ago

OK, I understand. The problem is associated with the oik-widget-cache plugin. The Sequentially Biased widget is included in the widget cache. The widget contains the following shortcode. [bw_list post_type=bigram posts_per_page=16 orderby=date order=DESC exclude=0] But there are requests coming in with the bwscid=n parameter. And sometimes, the cache is cleared and reset when the query being performed is for the nth page. e.g. /page/16/?bwscid1=2.

So we can close this and raise an issue against https://github.com/bobbingwide/oik-widget-cache

Workaround

Disable oik-widget-cache for this widget. This will also resolve the issue where the newly added bigram does not appear in the list.