Problem with global wpdb? WordPress lose data/query
-
Hi,
I have problem with w3.0, whose i never had with others version. Exactly sometimes wordpress lose query and didn’t get data from database (not all, i have multiple loops on one home/page, and sometimes is ok and sometimes one of this query not running – most in the header). I run it on my localhost (newest Xampp). What worse I don’t have any ideas why problem occure, i can only suspect that its problem with global wpdb var but i’m only beginner programer. To brighten problem i attached two print screen.Secondly, others maybe not bug but problem is that when i use get_the_post_thumbnail() function and i set width to 150px core load image post thumb with size 150×150 which is in most case cut off, but when i set 149 px on width it get image 150px on width and well get height but not cutted off.
screenshot
http://img19.imageshack.us/i/bugnvg.png/
http://img132.imageshack.us/i/bug2l.png/
http://img139.imageshack.us/i/withoutbug.png/
http://pastebin.com/0Z0QZwn0
Cheers
The topic ‘Problem with global wpdb? WordPress lose data/query’ is closed to new replies.