Come sapete sto provando a fare da solo daccapo un sito con wordpress. Ora...ho fatto una sidebar e ci ho inserito una barra di ricerca. Quando però vado ad utilizzarla mi fornisce il seguente errore.
codice:
WordPress errore sul database 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 meta_key="_aioseop_title"' at line 1
per la query SELECT * FROM wp_postmeta WHERE post_id= AND meta_key="_aioseop_title";
fatta da require('D:\Inetpub\webs\laugherit\wp-blog-header.php'),
require_once('D:\Inetpub\webs\laugherit\wp-includes\template-loader.php'),
include('D:\Inetpub\webs\laugherit\wp-content\themes\twentythirteen\search.php'),
get_header, locate_template, load_template,
require_once('D:\Inetpub\webs\laugherit\wp-content\themes\twentythirteen\header.php'),
wp_head, do_action('wp_head'), call_user_func_array, addfbogt, getTitle
Ho trovato già come inserire la barra di search con il codice php, però vorrei
anche capire che errore è questo e come si risolve. Tanto per avere idea di che fare
se si dovesse ripresentare.
Grazie mille.