YITH Woocommerce Request A Quote Premium

旧时模样 提交于 2019-12-11 14:52:33

问题


I am using WordPress 5.2 with the plugin YITH Woocommerce Request A Quote Premium.

Whenever I hit “Send Your Request” the page refreshes and nothing happens. No email is sent and when I enabled debug in wp-config I get this:

Notice: is_main_query was called incorrectly. In pre_get_posts, use the WP_Query->is_main_query() method,

Notice: id was called incorrectly. Product properties should not be accessed directly

Any help or advice would be greatly appreciated!


回答1:


here is what i have when i active debug:

Notice: id est appelée de la mauvaise manière. Les propriétés du produit ne doivent pas être accessible directement. Backtrace: require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/accesspress-parallax/page.php'), get_template_part, locate_template, load_template, require('/themes/accesspress-parallax/content-page.php'), the_content, apply_filters('the_content'), WP_Hook->apply_filters, do_shortcode, preg_replace_callback, do_shortcode_tag, YITH_YWRAQ_Shortcodes->request_quote_page, wc_get_template, include('/plugins/yith-woocommerce-request-a-quote-premium/templates/request-quote.php'), wc_get_template, include('/plugins/yith-woocommerce-request-a-quote-premium/templates/request-quote-view.php'), WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong Veuillez lire Débogage dans WordPress (en) pour plus d’informations. (Ce message a été ajouté à la version 3.0.) in /home/sites/equipalg/public_html/site/wp-includes/functions.php on line 4778

I don't know where is the ligne of error, please can you help me.



来源:https://stackoverflow.com/questions/59136782/yith-woocommerce-request-a-quote-premium

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!