Conversation
supportHi, I was working on a client’s website and found out that this plugin was causing error messages to not show up. Something with how it gets the post content before the page gets the content was causing the error messages to be in the og:description but not shown on the page itself. An easy workaround was adding this code after line 104 to check if it is the login page and set a specific description: if ( in_array( 'woocommerce/woocommerce.php', apply_filters( 'active_plugins', get_option( 'active_plugins' ) ) ) && is_account_page() ) { $description = get_bloginfo('name') . ' Login Page'; } It checks if WooCommerce is active and if the current page is the account page then sets a description manually. A better solution may be getting the current post ID then getting its contents instead of using $post directly. https://wordpress.org/plugins/open-graph-protocol-framework/
This is probably what is causing issues for me too. It would be nice if the dev would look into this.
Hi, it eats a lot of WooCommerce notices, including user edit errors.
This is probably what is causing issues for me too. It would be nice if the dev would look into this.
Hi, it eats a lot of WooCommerce notices, including user edit errors.