Harm10
Forum Replies Created
-
@emma24 Thanks for the additional explanation. I want to submit an enhancement request like an option to set to show the LoginPress screen whenever a new dashboard is selected. Where can I best submit that?
@emma24 Thanks for your explanation that it should work.
I tried it again and found that if I specify the full wp-admin url of the site that has LoginPress activated I get the LoginPress login screen.
But if I first log in regularly on the main site within the multi site and then switch to the dashboard I do not get the login screen. Perhaps this is because I am already logged in on the main site?
Shouldn’t LoginPress detect this and ask again to log in? After all the userid/password settings can be different per sub site?Forum: Plugins
In reply to: [WooCommerce] $product populated new version different?Thank you for your reply.
The point I want to get across is: how should hobby web designers/developers like me be aware that either the sequence of actions or the population of global variables is changed for version to version?
Not only for WP but also WC?I did not get a respons on my suggestion for adding meta tag functionality to WC? Will this be put on some enhancement list?
Forum: Plugins
In reply to: [WooCommerce] $product populated new version different?Again thanks for your suggestion.
I would like to point out that either WP or WC did change something in the sequence of events as before WP 6.7.1 and WC 9.5.1 $product was populated when action wp_head was fired!
Can someone please respond on that?I tried the first suggestion with woocommerce_after_single_product_summary but that fires too late.
The second one merely changes the sequence slightly but does not take care of populating $product in time?Currently I have found a solution by getting the product info myself via
$product = wc_get_product( get_the_ID() );Maybe it would be a good addition to WC to offer some functionality in WC for adding meta tags? I am a hobby developer but surely other users of WC would like something like this too?
Forum: Plugins
In reply to: [WooCommerce] $product populated new version different?Thanks for your info. But if I want to add meta tags to the header then this action will be fired in time?
Thank you in advance!
Forum: Plugins
In reply to: [WooCommerce] $product populated new version different?Can I please get a respons?
This is messing up my meta data in the product page header.
Forum: Plugins
In reply to: [WooCommerce] Install WooCommerce in only 1 site within multi siteI 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?
Forum: Plugins
In reply to: [WooCommerce] Install WooCommerce in only 1 site within multi site@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?Forum: Plugins
In reply to: [WooCommerce] Install WooCommerce in only 1 site within multi siteI 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?Forum: Plugins
In reply to: [WooCommerce] Install WooCommerce in only 1 site within multi siteAgain 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.Forum: Plugins
In reply to: [WooCommerce] Install WooCommerce in only 1 site within multi siteThanks 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
Forum: Plugins
In reply to: [WooCommerce] Install WooCommerce in only 1 site within multi siteI 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_metaThank 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?
Forum: Plugins
In reply to: [WooCommerce] Install WooCommerce in only 1 site within multi siteThanks 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