Forum Replies Created

Viewing 15 replies - 46 through 60 (of 488 total)
  • Thread Starter Harm10

    (@harm10)

    Can I please get a respons?

    This is messing up my meta data in the product page header.

    Thread Starter Harm10

    (@harm10)

    I switched HPOS off on both sites. Weirdest thing is that those extra tables are still there. You would expect them to be deleted or not?

    And there is also the question how can I test whether WC is properly installed?

    Thread Starter Harm10

    (@harm10)

    @doublezed2 I was activating the different plugins I want to use on this site 4 to see whether they work. One of them is the REST legacy REST API. As soon as I activated that one I get the message that HPOS is also on?
    This is weird as the option is not on when I look at the Settings. You can probably see that in the gist I sent?
    What is wrong?

    Thread Starter Harm10

    (@harm10)

    I did not know what HPOS is. I checked with the working site and it turns out I am using WooCommerce REST API which is incompatible with HPOS. So I did not use HPOS.

    I copied the 4 tables missing and now the errors in Status are gone.
    Is there a way that I can test whether WC is now working properly?

    Thread Starter Harm10

    (@harm10)

    Again thanks for your reply.
    I had to remove the tables manually as the uninstall process did not finish properly. So I had no choice.

    You do not answer my question about me trying to copy the missing tables from the working site?

    And also you do not answer why the activation stops creating tables? There has to be some settings left that influences the process.

    As this is merely some test site that I will never use for live presentation I feel that it is a bit to far fetched to let a professional look at it?
    I “fear” the moment that I could remove WC on a live site.

    Thread Starter Harm10

    (@harm10)

    Thanks for replying. If you read back you can see that the WC installation went fine on another new site in the same multi site set-up. The missing tables are there (in this case wp_9 versions).
    As soon as I start the activation on site 4 I get the error that tables are missing (I removed them all before starting the activation on site 4). So how come only part of them is recreated? Is there some wp-option holding info on where WC is/was active?

    Perhaps I can copy the missing tables from site 9 to get running again?

    Gist: https://gist.github.com/Harm10/b832dbb530aeaf55dc62fc2c4c8f2625

    Thread Starter Harm10

    (@harm10)

    I have set up this multi site a long time ago using the normal WP file and instructions.
    Just to experiment at that time.
    As WP now has these problems with the correct loading of the textdomain this is the only place I can have the latest version of WP active to try and resolve all those problems (also with my own child themes).
    So that is why I have to set-up WC there. As stated the very first install seemed to work fine besides the problems I had with missing methods and the installation dialog not finishing.

    So I started a new site and let setup wizard install WC there. That went fine.
    How should I deliver the Status report from there? You probably do not want it to be pasted here?

    Then I again tried to activate WC again in the site that fails and this is still the case. Did you have a look at the log messages I reported? Also in the new site the orders table is there and in the error one still not.
    As I need to remove the tables by hand surely there is some WP table entry that remains to block creation of that table?
    BTW the faulty site does have the option now to get the Status. But how to deliver that to you?
    It states that are missing: wp_4_wc_orders, wp_4_wc_order_addresses, wp_4_wc_order_operational_data, wp_4_wc_orders_meta

    Thread Starter Harm10

    (@harm10)

    Thank you for your reply.

    All Notices irrespective of theme/plugin point to the same location: in /myurl/wp-includes/functions.php on line 6114

    I know I can switch the display off with that WP_DEBUG_DISPLAY option, but that will mean that I will not see anything in the log anymore.

    I have tested whether this message influences theme translation to my language and it does not.
    So it is not blocking anything at the moment.

    Is there a new release planned soon?

    Thread Starter Harm10

    (@harm10)

    Thanks again for the elaborate description.
    I followed it all.
    As soon as I click Activate in the site that needs WC I get a display that Tables are missing to make WC work properly. So I assume something is left from my previous attempt(s)?
    I can redo the whole delete process and possible check something that you can specify?
    Apparently activating does not trigger the install process at the moment?

    I should add that the activation has created tables: 14 *_woo* and 16 *_wc_*

    More edit: When Deleting the plugin the process never finishes. It keeps on displaying Deleting……
    When I refresh the screen the plugin is no longer visible in the list.
    But all tables are still there.

    I looked in the log and found this at the moment of activation:
    WordPress database error Table ‘deb20385n4_testmulti.wp_4_wc_orders’ doesn’t exist for query SELECT COUNT(*) FROM wp_4_wc_orders WHERE type = ‘shop_order’ AND……………
    The orders table is not there so how can that be?

    At the moment of the deletion I find this error:
    PHP Fatal error: Uncaught Error: Class “WC_Plugin_Updates” not found
    and
    PHP Fatal error: Uncaught Error: Class “ActionScheduler_Lock” not found

    • This reply was modified 1 year, 5 months ago by Harm10.
    • This reply was modified 1 year, 5 months ago by Harm10.
    Thread Starter Harm10

    (@harm10)

    Thank you for responding!

    Good to hear that my first attempt was the right approach. As I said WC started installing and I got that screen with moving completion bar. It went until around 80% and then nothing happened.
    It looked like everything was there. At that time I did not check the tables.
    My current problem is that it seems impossible to restart the whole install process?

    I am using custom php code to add meta tags to the header. So code like
    global $product;
    $price = $product->get_price();
    And that failed as the method is not there?
    When vardumping the product var only its name was there?
    But I have not investigated what should be there.
    I might add that this custom code works fine on another site (not multi).

    Thread Starter Harm10

    (@harm10)

    @ironikus Is this plugin still supported?

    Thread Starter Harm10

    (@harm10)

    Any progress on my request?

    Thread Starter Harm10

    (@harm10)

    I have updated all my sites that also use Storefront as a secondary theme via Multiple Theme plugin and with WP 6.4.2 there are no problems!

    So for me this issue can be closed!

    Thread Starter Harm10

    (@harm10)

    It looks like WP 6.4.2 solves the problem! Will test some more (on other sites) and report back.

    Thread Starter Harm10

    (@harm10)

    I contacted the current developer of Multiple Themes. Alas he tells me that he has no time to fix this and advises me to look for another plugin that does the same. I do not think there is an alternative. Just reporting this for those of you who find this.

    I also want to add that storefront is not the only one that gets into problems as soon as it is the second theme that needs to be activated.
    I am experiencing this with others as well.
    All give you a line number in the functions.php of that theme and at that location the first get_template_directory is executed.
    I assume the plugin hooks into that function to set the template dir, if desired, to another location when the second theme needs to be activated.

    I am trying to understand the logic of the plug-in but haven’t made much progress yet.

Viewing 15 replies - 46 through 60 (of 488 total)