pattyjansen
Forum Replies Created
-
Thanks for responding. I wasted an entire weekend on this, could not solve it, even by disabling the plugin manually on the subsite (I run multisite). I do not use Storefront. I did disable my theme. I went into the database… no banana.
But in case someone else here has an issue, some guardian angel wrote a plugin called Reverse Paypal Standard which solved *all* my problems in about 30 seconds flat.
Forum: Networking WordPress
In reply to: disabling non-network plugin through code on one siteThere is one, but I emptied it. I have also deleted the rest of the plugins, disabled the theme and deleted all the options in the database that have something to do with payment. I can’t get in. I just can’t get in. The error message is still the same about the Woocommerce paypal plugin, but that plugin is not longer active and all its settings are deleted.
Is there a way I can restore the database to the settings that it would have started with? There are 34 pages of options in this table. I don’t fancy having to manually disable them all.
- This reply was modified 6 months, 2 weeks ago by pattyjansen.
My error:
Fatal error: Uncaught TypeError: WooCommerce\PayPalCommerce\PayLaterConfigurator\Factory\ConfigFactory::get_or_default(): Return value must be of type string, null returned in /home/customer/www/pattyjansen.com/public_html/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-paylater-configurator/src/Factory/ConfigFactory.php:140 Stack trace: #0 /home/customer/www/pattyjansen.com/public_html/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-paylater-configurator/src/Factory/ConfigFactory.php(117): WooCommerce\PayPalCommerce\PayLaterConfigurator\Factory\ConfigFactory->get_or_default(Object(WooCommerce\PayPalCommerce\WcGateway\Settings\Settings), 'pay_later_cart_...', 'text') #1 /home/customer/www/pattyjansen.com/public_html/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-paylater-configurator/src/Factory/ConfigFactory.php(52): WooCommerce\PayPalCommerce\PayLaterConfigurator\Factory\ConfigFactory->for_default_location(Object(WooCommerce\PayPalCommerce\WcGateway\Settings\Settings), 'cart', Array) #2 /home/customer/www/pattyjansen.com/public_html/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-paylater-configurator/src/Factory/ConfigFactory.php(25): WooCommerce\PayPalCommerce\PayLaterConfigurator\Factory\ConfigFactory->for_location(Object(WooCommerce\PayPalCommerce\WcGateway\Settings\Settings), 'cart') #3 /home/customer/www/pattyjansen.com/public_html/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-paylater-wc-blocks/src/PayLaterWCBlocksModule.php(124): WooCommerce\PayPalCommerce\PayLaterConfigurator\Factory\ConfigFactory->from_settings(Object(WooCommerce\PayPalCommerce\WcGateway\Settings\Settings)) #4 /home/customer/www/pattyjansen.com/public_html/wp-includes/class-wp-hook.php(324): WooCommerce\PayPalCommerce\PayLaterWCBlocks\PayLaterWCBlocksModule->WooCommerce\PayPalCommerce\PayLaterWCBlocks\{closure}('') #5 /home/customer/www/pattyjansen.com/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) #6 /home/customer/www/pattyjansen.com/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #7 /home/customer/www/pattyjansen.com/public_html/wp-settings.php(695): do_action('init') #8 /home/customer/www/pattyjansen.com/public_html/wp-config.php(101): require_once('/home/customer/...') #9 /home/customer/www/pattyjansen.com/public_html/wp-load.php(50): require_once('/home/customer/...') #10 /home/customer/www/pattyjansen.com/public_html/wp-admin/admin.php(34): require_once('/home/customer/...') #11 /home/customer/www/pattyjansen.com/public_html/wp-admin/index.php(10): require_once('/home/customer/...') #12 {main} thrown in /home/customer/www/pattyjansen.com/public_html/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-paylater-configurator/src/Factory/ConfigFactory.php on line 140
I cannot even get into the dashboard anymore. I’ve deleted the plugin from the subsite’s database (I’m having this problem on two subsites in multisite), but no banana. Two sites are entirely borked.
Forum: Networking WordPress
In reply to: disabling non-network plugin through code on one siteThanks.
Hmmm. I deleted most plugins in the database, the paypal one, and even woocommerce itself (it’s a test site, fortunately) and all woocommerce-related plugins, and I cleared the site cache, but the error stays exactly the same. I’ve changed stuff in the database before and normally the changes are pretty immediate, or is this one that takes a while to populate? I didn’t think so. Strange…
Thanks for responding. I have Woocommerce 8.6.1 and wordpress 6.4.3. But I’ve also already found a solution for what I want to do that works well. For those with the same issue, I’ve adapted the code snippet from this post: https://www.businessbloomer.com/woocommerce-hide-checkout-billing-fields-if-virtual-product-cart/
Everything is up to date. My dashboard says 7.4.4. I run wordpress multisite, if this is important.
This is a page with an image that’s affected (the product image, although this page looks just fine): https://pattyjansen.com/store/product/ambassador-1a-the-sahara-conspiracy-audio/
I checked the media library and developer tools and there is no conversion for this image, or any other image (I don’t think there was ever any bc Siteground).
Yet there must be something left over, because when I embed the page in a wordpress widget in a different subsite, you can see what happens in the very bottom of the right hand column here: https://pattyjansen.com/news/
(This is a different subsite in my multisite install)
Instead of a nice widget card, I get a ridiculous small horizontal strip of the image. This happens for all images I’ve uploaded recently. It’s like an invisible image setting has been changed somewhere and I’ve been trying all day to find it (I tried all corners of wordpress and the SQL database option settings). When I replace the image with an older image that I uploaded pre-August 2023, it suddenly behaves normally. Something happens during the upload process.
I see that you’re very helpful, thanks. I have the same issue. I tried the plugin but I’m with Siteground and it wouldn’t work. It only half-installed. I decided I had no time to sort it out (later, maybe), but now something has changed in the way the media library treats images. It won’t format and resize them properly in syndicated links and widgets and it’s driving me insane. All images uploaded after I tried the plugin behave like this. I’ve uninstalled the plugin, deleted the files, checked all the options settings in the database. I do not have a uploads-webpc directory (I don’t think the plugin ever got that far).
Is there any other wordpress file the plugin modifies where I need to remove something?
I run multisite, which might be part of the issue.
Forum: Fixing WordPress
In reply to: media path absolute vs relative issue wordpress multisiteHuh, OK, so messing with the theme does nothing (and I do use the same theme for all other sites), but when I look in the database, a relative path is defined for all subsites and the uploads_url_path is empty for all… except for the offending site, where the relative path was defined.
I deleted that option, and now it works again!
(I guess a plugin inserted the line but never deleted it when I deactivated the plugin)
Thank you so much!
- This reply was modified 1 year, 11 months ago by pattyjansen.
Forum: Fixing WordPress
In reply to: media path absolute vs relative issue wordpress multisiteThank you very much for your detailed response. It’s late and I will check this tomorrow morning, but just to make sure…
Because I’m running WP multisite (subdirectories) there is only one wp-config file, right? That’s the same for all sites. I use the same theme for all sites, too. Yet only one site gives me this issue.
Forum: Plugins
In reply to: [WooCommerce] Grouped products not showing price rangeI have price by country already running, but none of the bundle plugins honour the price by country options, so I can’t use any of them.
Forum: Plugins
In reply to: [WooCommerce] Grouped products not showing price rangeAaaah, I see. Yes, they are all the same price. Somehow I assumed it was going to add them up. Right. My bad.
Do you know of a bundle plugin that will work with price based on country?
Thanks
Forum: Fixing WordPress
In reply to: infuriating 404 on editing *some* pages but not othersThere is nothing to see for users of the website. Everything on that end behaves normally.
Forum: Fixing WordPress
In reply to: infuriating 404 on editing *some* pages but not othersThe public can see all the pages fine. I just can’t edit some of them without any logical pattern to it.
A completely blank .htaccess would just make the problem worse. I have a spare one for WP Multisite in the directory and it word for word contains the code in the working one. And if the .htaccess is borked the problem occurs for *all* pages in each subsite except perhaps the main site (I’ve also had lot of experience with this–don’t ask), not just random ones within the same subsite.
Thanks for responding.
I’ve gone nuclear on this, deleted everything, reinstalled the plugin and set up the firewall again. I monitored my .htaccess very closely when I enabled it, noticed that that plugin wrote to it, but didn’t delete anything, and so far the problem hasn’t come back. It’s only been a day, so keeping my fingers crossed.
I did check the php logs prior to posting here, but I really don’t have the knowledge to spot the finer issues. I noticed no major errors. But eh, I’m an author not a wordpress developer.
Having some issues with Jetpack, but I think I’ll reinstall that, too.