Home › Forums › Basel support forum › PHP error from theme
PHP error from theme
- This topic has 4 replies, 2 voices, and was last updated 6 years, 2 months ago by Artem Temos.
-
AuthorPosts
-
October 11, 2018 at 9:24 am #82161
FelixwebsimpleParticipantI get this
[10-Oct-2018 23:19:24 UTC] Σφάλμα 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 ‘OR (mn_posts.ID IN (13981,13988,18866,18868,18871))) BETWEEN ’70’ AND ‘140’ )
)
‘ at line 15 βάσης δεδομένων WordPress για αίτηση SELECT COUNT( DISTINCT mn_posts.ID ) as term_count, terms.term_id as term_count_id FROM mn_posts
INNER JOIN mn_term_relationships AS term_relationships ON mn_posts.ID = term_relationships.object_id
INNER JOIN mn_term_taxonomy AS term_taxonomy USING( term_taxonomy_id )
INNER JOIN mn_terms AS terms USING( term_id )
INNER JOIN mn_postmeta ON ( mn_posts.ID = mn_postmeta.post_id )
WHERE mn_posts.post_type IN ( ‘product’ )
AND mn_posts.post_status = ‘publish’
AND (
mn_posts.ID NOT IN (
SELECT object_id
FROM mn_term_relationships
WHERE term_taxonomy_id IN (459)
)
) AND (
( mn_postmeta.meta_key = ‘_price’ AND CAST(mn_postmeta.meta_value AS DECIMAL(10,2) OR (mn_posts.ID IN (13981,13988,18866,18868,18871))) BETWEEN ’70’ AND ‘140’ )
)
AND terms.term_id IN (635,8,324,54,202,262,325,86,199,594,243,231,209,143,330,128,341,230)
AND ((mn_posts.post_title LIKE ‘%OAKLEY%’) OR (mn_posts.post_excerpt LIKE ‘%OAKLEY%’) OR (mn_posts.post_content LIKE ‘%OAKLEY%’) OR (mn_posts.ID IN (13981,13988,18866,18868,18871))) AND (mn_posts.post_password = ”) GROUP BY terms.term_id από require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘/themes/basel/woocommerce/archive-product.php’), do_action(‘woocommerce_sidebar’), WP_Hook->do_action, WP_Hook->apply_filters, woocommerce_get_sidebar, wc_get_template, include(‘/plugins/woocommerce/templates/global/sidebar.php’), get_sidebar, locate_template, load_template, require_once(‘/themes/basel/sidebar.php’), dynamic_sidebar, WP_Widget->display_callback, BASEL_Widget_Layered_Nav->widget, BASEL_Widget_Layered_Nav->layered_nav_list, BASEL_Widget_Layered_Nav->get_filtered_term_product_countsSeems to be something with your theme
October 11, 2018 at 9:26 am #82163
Artem TemosKeymasterHello,
Could you please replace our Basel layered nav with standard WooCommerce one and check for this error again?
Thank you
October 11, 2018 at 9:27 am #82164
FelixwebsimpleParticipantAlso this
[09-Oct-2018 21:40:56 UTC] PHP Notice: Η post κλήθηκε εσφαλμένα. Οι ιδιότητες προϊόντος δε θα έπρεπε να προσπελαύνονται απευθείας. Backtrace: require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘/themes/basel/page.php’), get_footer, locate_template, load_template, require_once(‘/themes/basel/footer.php’), wp_footer, do_action(‘wp_footer’), WP_Hook->do_action, WP_Hook->apply_filters, rmkdin, require_once(‘/plugins/woo-dynamic-re-marketing/remarketing-dinamic.php’), WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong Παρακαλώ δείτε τη σελίδα Debugging in WordPress για περισσότερες πληροφορίες. (Το μήνυμα αυτό προστέθηκε στην έκδ. 3.0.) in /home/ulook/public_html/wp-includes/functions.php on line 4161
October 11, 2018 at 2:54 pm #82244
FelixwebsimpleParticipantWell replaced all the widgets with the default woocommerce ones and I do not get these errors
October 11, 2018 at 5:09 pm #82281
Artem TemosKeymasterHello,
Could you please disable all plugins that are not related to our theme and provide us your admin and FTP access so we can check it?
Thank you in advance
-
AuthorPosts
- You must be logged in to create new topics. Login / Register