Thank you page - problem

Hi,

showing on thank you page

Notice: Funkce id nebyla použita správným způsobem. Order properties should not be accessed directly. Backtrace: require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(’/themes/pro/page.php’), x_get_view, X_View_Router::render, include(’/themes/pro/framework/views/integrity/wp-page.php’), x_get_view, X_View_Router::render, include(’/themes/pro/framework/views/integrity/content-page.php’), x_get_view, X_View_Router::render, include(’/themes/pro/framework/views/global/_content.php’), x_get_view, X_View_Router::render, include(’/themes/pro/framework/views/global/_content-the-content.php’), the_content, apply_filters(‘the_content’), WP_Hook->apply_filters, do_shortcode, preg_replace_callback, do_shortcode_tag, WC_Shortcodes::checkout, WC_Shortcodes::shortcode_wrapper, WC_Shortcode_Checkout::output, WC_Shortcode_Checkout::order_received, wc_get_template, include(’/plugins/woocommerce/templates/checkout/thankyou.php’), do_action(‘woocommerce_thankyou’), WP_Hook->do_acti in /data/3/b/3bf55e39-9c42-4c1e-95b6-a13731c9ead3/qoot.cz/web/wp-includes/functions.php on line 4986

can you help me?

Hi Teem,

Thank you for writing in, base on that error you are seeing PHP Warning because you’re trying to access the page directly. To resolve this, you will have to disable the WP Debug mode. You can do this by editing the wp-config.php file and adding:

define('WP_DEBUG', false);

Just before the line:

/* That's all, stop editing! Happy blogging. */

When you revisit the Thank you page, you should no longer see those PHP Warning messages.

Editing wp-config.php
Debugging in WordPress

Happy holidays,
Cheers!

Ou I’m stupid :no_mouth:

Thank you and happy holidays too.

You’re welcome, @matuskm.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.