• Resolved alexWP333

    (@alexwp333)


    Hello,

    I’m running WordPress 6.1.1, and using PHP 7.4.

    I’ve installed PublishPress’s Capabilities and Permissions plugins, and have followed the instructions on setting up roles as per this youtube video (https://www.youtube.com/watch?v=YmNLROw_EUE&t=320s).

    I’ve added a new user, created a new role for that user, and am now ready to test the environment that this new user will see. When I click on the “Test this user” link, that’s directly underneath the new user that I’ve added, I get this error message:

    Fatal error: Uncaught Error: Call to undefined function wc_empty_cart() in /home/customer/www/sevenfold.school/public_html/wp-content/plugins/woocommerce/includes/class-wc-session-handler.php:372 Stack trace: #0 /home/customer/www/sevenfold.school/public_html/wp-content/plugins/woocommerce/includes/class-wc-session-handler.php(363): WC_Session_Handler->forget_session() #1 /home/customer/www/sevenfold.school/public_html/wp-content/plugins/woocommerce/includes/class-wc-session-handler.php(99): WC_Session_Handler->destroy_session() #2 /home/customer/www/sevenfold.school/public_html/wp-content/plugins/woocommerce/includes/class-wc-session-handler.php(71): WC_Session_Handler->init_session_cookie() #3 /home/customer/www/sevenfold.school/public_html/wp-content/plugins/woocommerce/includes/class-woocommerce.php(862): WC_Session_Handler->init() #4 /home/customer/www/sevenfold.school/public_html/wp-content/plugins/woocommerce-payments/includes/class-wc-payments-fraud-service.php(131): WooCommerce->initialize_session() #5 /home/cust in /home/customer/www/sevenfold.school/public_html/wp-content/plugins/woocommerce/includes/class-wc-session-handler.php on line 372

    Can someone tell me what this error means, and what I need to do to fix this error?

    The page I need help with: [log in to see the link]

Viewing 3 replies - 16 through 18 (of 18 total)
  • Plugin Support Riza Maulana Ardiyanto

    (@rizaardiyanto)

    The support with the free version is limited. If you have the pro version of our plugin, we can troubleshoot and fix it for your site.

    Otherwise, you can contact Avia support team to check on their end.

    Thanks,

    Thread Starter alexWP333

    (@alexwp333)

    It sounds like PublishPress does not wish to take responsibility helping users of their free version.

    I shouldn’t have to sign up for the paid version to get it to work as shown in PublishPress’s Youtube link (at https://www.youtube.com/watch?v=YmNLROw_EUE&t=320s). In that video Steve says (on 0:54 of the video), that this procedure can be done with “two plugins which are free to use”. It’s somewhat misleading, isn’t it?

    It would be helpful if PublishPress removed that Youtube video, or at the very least added a statement that PublishPress is not compatible with Avia Builder. Hopefully this will save other users’ of Avia time, by having them look for an alternative solution.

    • This reply was modified 1 year, 11 months ago by alexWP333.
    Plugin Author Steve Burge

    (@stevejburge)

    @alexwp333 Hi Alex. I’m Steve who filmed that video.

    That guide works with default WordPress, but a lot of page builders do make things more complicated. They add their own non-standard permission layer.

    I’ve tested many of the leading page builders and have workarounds for them, but haven’t tested Avia. It is more difficult to test those commercial-only products that don’t have free versions.

Viewing 3 replies - 16 through 18 (of 18 total)
  • The topic ‘Error when Testing New User Role’ is closed to new replies.