Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • @vladogrcic thanks for the quick response. By layout shift I meant the User Overview page doesn’t fit, so there’s horizontal scrolling. It’s only happening on that page. I hope that makes sense.

    Then, here’s what I found in debug.log. I just changed the website address to example.com and test.com. Everything else is exactly as is in the debug file

    [06-Sep-2021 16:07:08 UTC] PHP Notice:  ID was called <strong>incorrectly</strong>. Product properties should not be accessed directly. Backtrace: require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/Divi/page.php'), the_content, apply_filters('the_content'), WP_Hook->apply_filters, PageRestrictForWooCommerce\Front\Front->initiate_process_page, PageRestrictForWooCommerce\Includes\Common\Section_Blocks->process_page, do_shortcode, preg_replace_callback, do_shortcode_tag, ET_Builder_Element->_render, ET_Builder_Section->render, do_shortcode, preg_replace_callback, do_shortcode_tag, ET_Builder_Element->_render, ET_Builder_Element->_render, ET_Builder_Section->render, do_shortcode, preg_replace_callback, do_shortcode_tag, ET_Builder_Element->_render, ET_Builder_Row->render, do_shortcode, preg_replace_callback, do_shortcode_tag, ET_Builder_Element->_render, ET_Builder_Column->render, do_shortcode, preg_replace_callback, do_shortcode_tag, ET_Builder_Element->_render, ET_Builder_Module_Woocommerce_Add_To_Cart->r in /var/www/vhosts/example.com/test.com/wp-includes/functions.php on line 5535
    [06-Sep-2021 16:07:08 UTC] PHP Notice:  ID was called <strong>incorrectly</strong>. Product properties should not be accessed directly. Backtrace: require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/Divi/page.php'), the_content, apply_filters('the_content'), WP_Hook->apply_filters, PageRestrictForWooCommerce\Front\Front->initiate_process_page, PageRestrictForWooCommerce\Includes\Common\Section_Blocks->process_page, do_shortcode, preg_replace_callback, do_shortcode_tag, ET_Builder_Element->_render, ET_Builder_Section->render, do_shortcode, preg_replace_callback, do_shortcode_tag, ET_Builder_Element->_render, ET_Builder_Element->_render, ET_Builder_Section->render, do_shortcode, preg_replace_callback, do_shortcode_tag, ET_Builder_Element->_render, ET_Builder_Row->render, do_shortcode, preg_replace_callback, do_shortcode_tag, ET_Builder_Element->_render, ET_Builder_Column->render, do_shortcode, preg_replace_callback, do_shortcode_tag, ET_Builder_Element->_render, ET_Builder_Module_Woocommerce_Add_To_Cart->r in /var/www/vhosts/example.com/test.com/wp-includes/functions.php on line 5535
    [06-Sep-2021 16:07:08 UTC] PHP Notice:  ID was called <strong>incorrectly</strong>. Product properties should not be accessed directly. Backtrace: require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/Divi/page.php'), the_content, apply_filters('the_content'), WP_Hook->apply_filters, PageRestrictForWooCommerce\Front\Front->initiate_process_page, PageRestrictForWooCommerce\Includes\Common\Section_Blocks->process_page, do_shortcode, preg_replace_callback, do_shortcode_tag, ET_Builder_Element->_render, ET_Builder_Section->render, do_shortcode, preg_replace_callback, do_shortcode_tag, ET_Builder_Element->_render, ET_Builder_Element->_render, ET_Builder_Section->render, do_shortcode, preg_replace_callback, do_shortcode_tag, ET_Builder_Element->_render, ET_Builder_Row->render, do_shortcode, preg_replace_callback, do_shortcode_tag, ET_Builder_Element->_render, ET_Builder_Column->render, do_shortcode, preg_replace_callback, do_shortcode_tag, ET_Builder_Element->_render, ET_Builder_Module_Woocommerce_Add_To_Cart->r in /var/www/vhosts/example.com/test.com/wp-includes/functions.php on line 5535

    @vladogrcic I’ve updated to version 1.4 and User Overview now shows data under “Expire by timeout”, nothing for “Expired by views”. There’s also a layout shift (left to right) when viewing the User Overview page.

    Restricted Pages List on the My Account page is still blank.

    @vladogrcic I’ve double-checked. Everything is set correctly and I have plugin version 1.3.4 installed.

    Post type I’m trying to restrict is a post. Result: User Overview and WooCommerce My Account “Restricted Pages” show nothing.

    Then when I test restricting a page, every single user shows up on User Overview – not just the ones that bought that particular product. But front end still remains empty for page post type as well. So it seems there is a conflict somewhere.

    Hi @vladogrcic

    I’m experiencing the same issue as @coyachang. Everything works fine except the User Overview in the backend and WooCommerce My Account “Restricted Pages”. Both remain blank even after user has purchased.

    I can confirm there’s no other plugin or theme causing the conflict because the issue persists even with all other plugins deactivated and default theme activated.

    I’m using 7.4.16 and guest checkout is off. Also using the latest version of WordPress (5.8). When I downloaded the plugin, I did notice it said “untested with your version of WordPress”. Perhaps that’s the issue?

    Please assist and thanks for the great plugin so far.

    Thread Starter wpkaygee

    (@wpkaygee)

    Thanks @jnr4u2

    It worked after I made a slight change to your recommendation

    .postid-30569 #main-content {
    background-color: #7cda24 !important;
    }

    Do you perhaps know how to change the color by category, so that it applies to all pages/posts in a category?

    • This reply was modified 4 years, 2 months ago by wpkaygee.
    Thread Starter wpkaygee

    (@wpkaygee)

    Thank you

Viewing 6 replies - 1 through 6 (of 6 total)