-
AuthorPosts
-
December 8, 2014 at 7:52 pm #364901
Hi
Just upgraded to latest version of your theme from a pre 3.0 version and also upgraded WordPress.Now having weird wrapping issue with a 3 column portfolio grid and its only affecting the first row see here
Also some weird things happening if we choose all values from a “taxonomy” for the portfolio grid….
server error shows… so a comma is creeping in before the ORDER BY
[08-Dec-2014 17:36:59 UTC] 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 ‘ vas_posts.post_date ASC’ at line 1 for query SELECT vas_posts.* FROM vas_posts INNER JOIN vas_term_relationships ON (vas_posts.ID = vas_term_relationships.object_id) WHERE 1=1 AND ( vas_term_relationships.term_taxonomy_id IN (69,70,71) ) AND vas_posts.post_type IN (‘post’, ‘page’, ‘attachment’, ‘revision’, ‘nav_menu_item’, ‘exhibition’, ‘artist’, ‘publication’, ‘press’, ‘press-release’, ‘acf’, ‘apto_sort’, ‘portfolio’, ‘avia_framework_post’) AND (vas_posts.post_status = ‘publish’ OR vas_posts.post_author = 2 AND vas_posts.post_status = ‘private’) GROUP BY vas_posts.ID ORDER BY , vas_posts.post_date ASC made by require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), do_action(‘template_redirect’), call_user_func_array, AviaBuilder->template_redirect, require_once(‘/themes/enfold/template-builder.php’), apply_filters(‘the_content’), call_user_func_array, do_shortcode, preg_replace_callback, do_shortcode_tag, call_user_func, aviaShortcodeTemplate->shortcode_handler_prepare, avia_sc_columns->shortcode_handler, ShortcodeHelper::avia_remove_autop, do_shortcode, preg_replace_callback, do_shortcode_tag, call_user_func, aviaShortcodeTemplate->shortcode_handler_prepare, avia_sc_portfolio->shortcode_handler, avia_post_grid->query_entries, WP_Query->__construct, WP_Query->query, WP_Query->get_posts
December 9, 2014 at 12:56 am #365088Hey wrongjon!
It looks like it’s from some CSS in your child theme.
.grid-col-3 .grid-loop-1 { margin: 15px 15px 15px 0; }
What happens when you activate the parent theme? Be sure to deactivate all plugins while testing and if your still having problems then send us a WordPress login and we’ll take a look.
Best regards,
ElliottDecember 9, 2014 at 2:19 am #365103Hi Elliot
Thanks for the quick reply and yes weirdly that css no longer worked with the updated theme and I also had to set the overall site width and also remove 50px padding from .container so guess there were some changes from pre to post enfold 3.0
If I disabled plugin (Advanced Post Types Order) then that problem goes away with the portfolio grid not showing on certain taxonomies…. so unless you know of any conflicts with enfold and that plugin ill try to email the plugin author as weird its only happening on certain queries
thanks
JonathanDecember 9, 2014 at 7:09 pm #365483Hey!
Not sure what could be going on with the SQL error. Let us know what the author says.
Best regards,
Elliott- This reply was modified 9 years, 11 months ago by Elliott.
-
AuthorPosts
- You must be logged in to reply to this topic.