• Hi all,

    Many Thanks for providing us the great owp theme.
    I am using it combined with the woocommerce plugin. Here is the probleme I am facing:

    Product Quick view works as unlogged user
    Product Quick view works as wp admin user
    (“works” means that I can see the poppup windows this article picture + description)

    Product Quick view doesn’t work as logged in website’s user (ie. as customer)
    Doesn’t work means: I can see the poppup effect, the screen become darker but no content, only the cross to close in the center of the screen.

    The php debug stack trace is below (local version but same on the distant serveur, website under development):

    [19-Jun-2020 20:22:08 Europe/Paris] PHP Notice: Trying to get property ‘post_type’ of non-object in C:\wamp64\www\website\wp-includes\class-wp-query.php on line 4146
    [19-Jun-2020 20:22:08 Europe/Paris] PHP Stack trace:
    [19-Jun-2020 20:22:08 Europe/Paris] PHP 1. {main}() C:\wamp64\www\website\wp-admin\admin-ajax.php:0
    [19-Jun-2020 20:22:08 Europe/Paris] PHP 2. do_action() C:\wamp64\www\website\wp-admin\admin-ajax.php:175
    [19-Jun-2020 20:22:08 Europe/Paris] PHP 3. WP_Hook->do_action() C:\wamp64\www\website\wp-includes\plugin.php:478
    [19-Jun-2020 20:22:08 Europe/Paris] PHP 4. WP_Hook->apply_filters() C:\wamp64\www\website\wp-includes\class-wp-hook.php:311
    [19-Jun-2020 20:22:08 Europe/Paris] PHP 5. OceanWP_WooCommerce_Config->product_quick_view_ajax() C:\wamp64\www\website\wp-includes\class-wp-hook.php:287
    [19-Jun-2020 20:22:08 Europe/Paris] PHP 6. wp() C:\wamp64\www\website\wp-content\themes\oceanwp\inc\woocommerce\woocommerce-config.php:1163
    [19-Jun-2020 20:22:08 Europe/Paris] PHP 7. WP->main() C:\wamp64\www\website\wp-includes\functions.php:1274
    [19-Jun-2020 20:22:08 Europe/Paris] PHP 8. do_action_ref_array() C:\wamp64\www\website\wp-includes\class-wp.php:752
    [19-Jun-2020 20:22:08 Europe/Paris] PHP 9. WP_Hook->do_action() C:\wamp64\www\website\wp-includes\plugin.php:544
    [19-Jun-2020 20:22:08 Europe/Paris] PHP 10. WP_Hook->apply_filters() C:\wamp64\www\website\wp-includes\class-wp-hook.php:311
    [19-Jun-2020 20:22:08 Europe/Paris] PHP 11. oceanwp_sidebar_action() C:\wamp64\www\website\wp-includes\class-wp-hook.php:287
    [19-Jun-2020 20:22:08 Europe/Paris] PHP 12. oceanwp_sidebar_order() C:\wamp64\www\website\wp-content\themes\oceanwp\inc\helpers.php:582
    [19-Jun-2020 20:22:08 Europe/Paris] PHP 13. is_singular() C:\wamp64\www\website\wp-content\themes\oceanwp\inc\helpers.php:521
    [19-Jun-2020 20:22:08 Europe/Paris] PHP 14. WP_Query->is_singular() C:\wamp64\www\website\wp-includes\query.php:764

    Here is the same with exception:
    [19-Jun-2020 20:28:54 Europe/Paris] PHP Fatal error: Uncaught Exception: Erreur vue rapide in C:\wamp64\www\website\wp-includes\class-wp-query.php:4146
    Stack trace:
    #0 C:\wamp64\www\website\wp-includes\query.php(764): WP_Query->is_singular(‘post’)
    #1 C:\wamp64\www\website\wp-content\themes\oceanwp\inc\helpers.php(521): is_singular(‘post’)
    #2 C:\wamp64\www\website\wp-content\themes\oceanwp\inc\helpers.php(582): oceanwp_sidebar_order()
    #3 C:\wamp64\www\website\wp-includes\class-wp-hook.php(287): oceanwp_sidebar_action(Object(WP))
    #4 C:\wamp64\www\website\wp-includes\class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array)
    #5 C:\wamp64\www\website\wp-includes\plugin.php(544): WP_Hook->do_action(Array)
    #6 C:\wamp64\www\website\wp-includes\class-wp.php(752): do_action_ref_array(‘wp’, Array)
    #7 C:\wamp64\www\website\wp-includes\functions.php(1274): WP->main(‘p=204&post_type…’)
    #8 C:\wamp64\www\website\wp-content\themes\oceanwp\inc\woocommerce\woocommerce-config.php(1163): wp(‘p=204&post_type…’)
    #9 C:\wamp64\www in C:\wamp64\www\website\wp-includes\class-wp-query.php on line 4146

    I can consider to remove the quick view button; the wp archive customizer only remove the hover button, but unfortunately let a hard link below the picture…

    Please would you advise or suggest ways to solve it ?
    Many many thanks!

Viewing 1 replies (of 1 total)
  • Hello,

    Try to disable/enable plugin one by one to check for a possible conflict. There is no issue with the quick view in the theme and it is working fine. It could be a plugin conflict.

Viewing 1 replies (of 1 total)
  • The topic ‘Quick view as logged in user’ is closed to new replies.