Skip to content

Getting Call to a member function get_page_permastruct() on a non-object (NULL) #8

Description

@ashishrajsrivastava

Describe the bug
A clear and concise description of what the bug is.

I Know the plugin is not yet tested with latest WordPress version 5.0.3 (that's what it said on plugin page) but to try it out I recently installed the lite version on my woocommerce website, but after installation and the basic configuration website gives error when accessing from a mobile device.

the error message that is:

Fatal error: Call to a member function get_page_permastruct() on null in /wp-includes/link-template.php on line 357

To Reproduce
Steps to reproduce the behavior:

  1. Install the plugin.
  2. Configure it from pwacommerce menu.
  3. Access the website from Mobile device.

Expected behavior
Fatal error: Call to a member function get_page_permastruct() on null in /wp-includes/link-template.php on line 357

WordPress / WooCommerce setup (please complete the following information):

  • PHP Version 5.6.38
  • WordPress version: Version 5.0.3
  • WooCommerce plugin version: 3.5.3
  • PWACommerce Plugin Version 0.5
  • Other WooCommerce plugins that you are using
    WooCommerce PDF Invoices & Packing Slips
    WooCommerce POS
    WooCommerce Checkout Manager
    WooCommerce - Store Toolkit

Smartphone (please complete the following information, if it applies):

  • Device: Oppo RealMe 1
  • OS: Android 8.1.0
  • Browser Chrome
  • Version 71.0.3578.99

Metadata

Metadata

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions