• Resolved jenamish

    (@jenamish)


    Hello there.

    We have installed your plugin today to experiment with it for our website before buying the PRO version, as it seems to do everything we need it to.

    Meanwhile we have noticed that the settings tab under WooCommerce Settings is not displaying in our website, making this plugin impossible to configure. We are running a WordPress 6.0 Multisite installation and WooCommerce version 6.6.1. We have tried setting and reloading WordPress permalinks to no avail, and have no clue how to debug further.

    Our multisite installation has a few particularities that might introduce the bug we are seeing:
    – We run our WordPress multisite installation in a Kubernetes cluster with three physical nodes, by deploying prebuilt Docker images. This leads to problems when plugins create local files in the local filesystem at runtime, since these files will only be created in one of the three physical nodes, and will be inaccessible by other nodes. These files need to be created beforehand and included in the Docker images for all nodes to have access to them.
    – We run our multimedia storage in an external server, a S3-compatible bucket provided by DigitalOcean Spaces, taking advantage of a plugin that hooks into WordPress’s standard file upload system and changes its behaviour to upload all multimedia files into our remote bucket. This leads to problems when plugins use the “wp-content/uploads” folder directly, using native PHP functions, instead of hooking onto WordPress’s standard file upload API.

    Since our structure is heavily customized and very far from standard WordPress hosting, I am writing this ticket to you not in the hope that you solve this problem for us, but in the hope that you can give us a few quick pointers about where you think this issue could be stemming from, so that we can debug it further and proceed to issue a fix for it.

    Thank you,
    Pedro Ribeiro.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Uriahs Victor

    (@uriahs-victor)

    Hi, the plugin isn’t doing anything out of the way with the filesystem really…But it does create some folders for storing the QR code images and static map images which can be included in the emails customers receive.

    If the plugin settings aren’t being loaded, please start by first disabling all plugins except WooCommerce and LPAC to see if its because of a conflict.

    Also check the browser console to see if there’s any Javascript errors on the page.

    You should also check the PHP error logs to see if there are any errors related to the plugin

    Thread Starter jenamish

    (@jenamish)

    Hello again.

    Sorry for the late reply.

    We have tried to run your plugin with only WooCommerce and LPAC activated, to no avail. We also get no JavaScript console errors.

    In the meantime we have found the following entry in our logs when MANUALLY trying to load the plugin’s settings page URL, by typing .../wp-admin/admin.php?page=wc-settings&tab=lpac-settings into the browser’s address bar.

    Error log entry:
    PHP Warning: Undefined array key "lpac-settings" in /usr/src/wordpress/wp-content/plugins/woocommerce/includes/react-admin/connect-existing-pages.php on line 89

    We will keep pressing on this issue and report back with our findings.

    Thank you very much for your time.

    Thread Starter jenamish

    (@jenamish)

    Regarding my last message, the error I referenced is only a byproduct of manually entering the URL in the address bar. If I write the address as .../wp-admin/admin.php?page=wc-settings&tab=foo-bar then I get the error Undefined array key "foo-bar".

    This means that this error is not at all related to the fact that the settings page is not displaying, and I can conclude that absolutely no other errors are present, neither in Apache/PHP logs, neither the browser’s JavaScript console.

    Plugin Author Uriahs Victor

    (@uriahs-victor)

    Closing this since we’ve began talking via email for this issue.

    The original issue was caused by activating WooCommerce and LPAC network wide on a multisite installation. They instead had to be activated on a per site basis for the setting to show.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Settings Page not Displaying’ is closed to new replies.