Notice: Undefined index: event in /var/www/clients/client1/web17/web/wp-content/themes/cen/classificacio_dones.php on line 16
Error a la base de dades del WordPress: [You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'and pm.meta_key = '_tribe_wooticket_event'
and pm.post_id = pm1.post_id an' at line 3]SELECT SUBSTRING_INDEX(SUBSTRING_INDEX(trim(pm1.meta_key), '_', 2),'_',-1) as num
from wp_postmeta pm , wp_postmeta pm1
where pm.meta_value = and pm.meta_key = '_tribe_wooticket_event'
and pm.post_id = pm1.post_id and pm1.meta_key like 'tram_%' and pm1.meta_value != ''
group by pm1.meta_key
ORDER BY CAST( num AS UNSIGNED ) DESC
Notice: Undefined index: event in /var/www/clients/client1/web17/web/wp-content/themes/cen/classificacio_dones.php on line 22
Error a la base de dades del WordPress: [You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'and pm.meta_key = '_tribe_wooticket_event'
and pm.post_id = pm1.post_id an' at line 3]SELECT pm1.meta_key, SUBSTRING_INDEX(SUBSTRING_INDEX(trim(pm1.meta_key), '_', 2),'_',-1) as num
from wp_postmeta pm , wp_postmeta pm1
where pm.meta_value = and pm.meta_key = '_tribe_wooticket_event'
and pm.post_id = pm1.post_id and pm1.meta_key like 'tram_%' and pm1.meta_value != ''
group by pm1.meta_key
ORDER BY CAST( num AS UNSIGNED ) DESC