WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND (flags & 8 != 8); /* From [darwinsark.org/dog-profile-page/] in [/nas/conten' at line 1]
SELECT * FROM dogs where id= AND (flags & 8 != 8); /* From [darwinsark.org/dog-profile-page/] in [/nas/content/live/darwinsark2/wp-content/themes/pivot-child/functions.php:1946] */

We’ve launched Darwin’s Cats, our new feline community science project!

WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and wp_usermeta.user_id = 0; /* From [darwinsark.org/dog-profile-page/] in [/na' at line 2]
select owner,meta_value,likes from wp_usermeta join dogs on wp_usermeta.meta_value=dogs.group_id where meta_key='group_id' and dogs.id = and wp_usermeta.user_id = 0; /* From [darwinsark.org/dog-profile-page/] in [/nas/content/live/darwinsark2/wp-content/themes/pivot-child/fc_1.php:642] */

WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ORDER BY (flags & 8); /* From [darwinsark.org/dog-profile-page/] in [/nas/conten' at line 10]
SELECT *,(dom_entry='yes' and eligible=1 and image is not null and image!='0' and image!='.png' and (flags & 8 != 8) and group_id is not null and (dom_awarded is null or (CAST(from_unixtime(dom_awarded) AS DATE) >= STR_TO_DATE(CONCAT('01-',MONTH(CURDATE()),'-',YEAR(CURDATE())),'%d-%m-%Y'))) and fake != 1) as dom_eligible,(flags & 8) as 'deceased', TIMESTAMPDIFF(MONTH, CAST(from_unixtime(deceased) AS DATE), CURDATE()) as date_difference, (select count(1) from dog_likes where dog_id = id) as 'dog_likes',(select count(1) from dog_likes where dog_id = id) as 'likes', owner as 'owner', (select case when count(1)>0 then 'yes' else 'no' end from dog_likes d2 where d2.dog_id =id and d2.user_id = 0) as'user_liked', (case when CAST(from_unixtime(dom_awarded) AS DATE) = STR_TO_DATE(CONCAT('01-',MONTH(CURDATE()),'-',YEAR(CURDATE())),'%d-%m-%Y') THEN 'CurrentMonth' when CAST(from_unixtime(dom_awarded) AS DATE) = STR_TO_DATE(CONCAT('01-',(MONTH(CURDATE())+1),'-',YEAR(CURDATE())),'%d-%m-%Y') THEN 'NextMonth' else 'NotDOM' end) as 'dom_month' FROM dogs where id= ORDER BY (flags & 8); /* From [darwinsark.org/dog-profile-page/] in [/nas/content/live/darwinsark2/wp-content/themes/pivot-child/fc_1.php:656] */

PERSONALITY PROFILES

Please see your dog’s personality profiles prediction below for your dog. We’ve highlighted those most well suited foryour dog based on the survey answers you’ve provided. Please note that the graph for these recommendations will change as we gather more data on which to base the recommendations. For now these are quite preliminary.

Follower

88%

Leader

Dependent

65%

Independent

Calm

76%

Energetic

Shy

90%

Confident

WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND wp_usermeta.user_id = 0 ; /* From [darw' at line 14]
SELECT owner, meta_value FROM wp_usermeta JOIN dogs ON wp_usermeta.meta_value = dogs.group_id WHERE meta_key = 'group_id' AND dogs.id = AND wp_usermeta.user_id = 0 ; /* From [darwinsark.org/dog-profile-page/] in [/nas/content/live/darwinsark2/wp-content/themes/pivot-child/fc_1.php:71] */