Error!: SQLSTATE[42000]: Syntax error or access violation: 1064 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 '' at line 3
PDOException Object
(
[message:protected] => SQLSTATE[42000]: Syntax error or access violation: 1064 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 '' at line 3
[string:Exception:private] =>
[code:protected] => 42000
[file:protected] => /var/www/html/wp-content/mu-plugins/dbLayer.Class.php
[line:protected] => 52
[trace:Exception:private] => Array
(
[0] => Array
(
[file] => /var/www/html/wp-content/mu-plugins/dbLayer.Class.php
[line] => 52
[function] => query
[class] => PDO
[type] => ->
[args] => Array
(
[0] => select pd.*,state.state state_name from property_data pd
inner join state on pd.state = state.abbr
where pd.property_id =
)
)
[1] => Array
(
[file] => /var/www/html/wp-content/mu-plugins/dbLayer.Class.php
[line] => 207
[function] => query
[class] => dbLayer
[type] => ->
[args] => Array
(
[0] => select pd.*,state.state state_name from property_data pd
inner join state on pd.state = state.abbr
where pd.property_id =
)
)
[2] => Array
(
[file] => /var/www/html/wp-content/mu-plugins/CommunityPage.Class.php
[line] => 90
[function] => ReturnSingleRow
[class] => dbLayer
[type] => ->
[args] => Array
(
[0] => select pd.*,state.state state_name from property_data pd
inner join state on pd.state = state.abbr
where pd.property_id =
)
)
[3] => Array
(
[file] => /var/www/html/wp-content/mu-plugins/CommunityPage.Class.php
[line] => 48
[function] => GetCommunityData
[class] => CommunityPage
[type] => ->
[args] => Array
(
[0] =>
)
)
[4] => Array
(
[file] => /var/www/html/wp-content/themes/modernize/functions.php
[line] => 328
[function] => OutputCommunityPage
[class] => CommunityPage
[type] => ->
[args] => Array
(
[0] => Array
(
[name] => Ridgmar Place
[id] =>
)
)
)
[5] => Array
(
[file] => /var/www/html/wp-includes/shortcodes.php
[line] => 355
[function] => output_community_page
[args] => Array
(
[0] => Array
(
[name] => Ridgmar Place
[id] =>
)
[1] =>
[2] => community_page
)
)
[6] => Array
(
[function] => do_shortcode_tag
[args] => Array
(
[0] => Array
(
[0] => [community_page name="Ridgmar Place" id=""]
[1] =>
[2] => community_page
[3] => name="Ridgmar Place" id=""
[4] =>
[5] =>
[6] =>
)
)
)
[7] => Array
(
[file] => /var/www/html/wp-includes/shortcodes.php
[line] => 227
[function] => preg_replace_callback
[args] => Array
(
[0] => /\[(\[?)(community_page)(?![\w-])([^\]\/]*(?:\/(?!\])[^\]\/]*)*?)(?:(\/)\]|\](?:([^\[]*+(?:\[(?!\/\2\])[^\[]*+)*+)\[\/\2\])?)(\]?)/
[1] => do_shortcode_tag
[2] => [community_page name="Ridgmar Place" id=""]
)
)
[8] => Array
(
[file] => /var/www/html/wp-includes/class-wp-hook.php
[line] => 308
[function] => do_shortcode
[args] => Array
(
[0] => [community_page name="Ridgmar Place" id=""]
)
)
[9] => Array
(
[file] => /var/www/html/wp-includes/plugin.php
[line] => 205
[function] => apply_filters
[class] => WP_Hook
[type] => ->
[args] => Array
(
[0] => [community_page name="Ridgmar Place" id=""]
[1] => Array
(
[0] => [community_page name="Ridgmar Place" id=""]
)
)
)
[10] => Array
(
[file] => /var/www/html/wp-includes/post-template.php
[line] => 255
[function] => apply_filters
[args] => Array
(
[0] => the_content
[1] => [community_page name="Ridgmar Place" id=""]
)
)
[11] => Array
(
[file] => /var/www/html/wp-content/themes/modernize/communityPost.php
[line] => 149
[function] => the_content
[args] => Array
(
)
)
[12] => Array
(
[file] => /var/www/html/wp-content/themes/modernize/page.php
[line] => 6
[args] => Array
(
[0] => /var/www/html/wp-content/themes/modernize/communityPost.php
)
[function] => include
)
[13] => Array
(
[file] => /var/www/html/wp-includes/template-loader.php
[line] => 106
[args] => Array
(
[0] => /var/www/html/wp-content/themes/modernize/page.php
)
[function] => include
)
[14] => Array
(
[file] => /var/www/html/wp-blog-header.php
[line] => 19
[args] => Array
(
[0] => /var/www/html/wp-includes/template-loader.php
)
[function] => require_once
)
[15] => Array
(
[file] => /var/www/html/index.php
[line] => 17
[args] => Array
(
[0] => /var/www/html/wp-blog-header.php
)
[function] => require
)
)
[previous:Exception:private] =>
[errorInfo] => Array
(
[0] => 42000
[1] => 1064
[2] => 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 '' at line 3
)
)
PDO::errorInfo():
Array
(
[0] => 42000
[1] => 1064
[2] => 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 '' at line 3
)
Found in /var/www/html/wp-content/mu-plugins/dbLayer.Class.php on line 66
Called from /var/www/html/wp-content/mu-plugins/dbLayer.Class.php on line 207
Called from /var/www/html/wp-content/mu-plugins/CommunityPage.Class.php on line 90
WordPress › Error