dvdm
Forum Replies Created
-
Forum: Plugins
In reply to: [Integration for Adyen with WooCommerce] Undefined variable $method_typeThis issue also occurs right after activating the plugin. The $method_type variable depends on this foreach loop:
foreach(Service::checkout()->get_payment_methods() as $item){
$method_type = Util::array($item)->get('type');
// ..
}But if there aren’t any payment methods (yet), this gives an undefined warning:
set_transient( PREFIX . '_google_method', $method_type, \HOUR_IN_SECONDS );
Hi! Thanks for your quick reply!
Yes, we’re using the free plugin, Version 9.4.7.1
Forum: Plugins
In reply to: [PostNL for WooCommerce] Shipping label orientatieHi Jan,
Sorry voor de late reactie, ik heb onze klant hier eigenlijk niet meer over gehoord. Er zijn inderdaad inmiddels wat plugin updates geweest. We draaien momenteel versie 5.1.2. en hier treedt het probleem niet meer bij op.
Cheers,
DanielAbsolutely, we’re actually using WP exclusively as a CMS backend so we rely heavily on the REST API.
In fact, we’re also using the REST API for internal calls within the backend to tie together some content before sending it to our frontend. Those internal calls work flawlessly, so I’m not sure why your call won’t work..
Forum: Plugins
In reply to: [Performance Tweaks] wp-admin breaks when using defer javascript optionThat’s awesome Rick, thanks!
Thanks for your reply. I completely overlooked that function call.
Perhaps that should be changed to
get_rest_url
as it allows for filtering the result. See https://developer.www.ads-software.com/reference/functions/get_rest_url/I changed it and added:
add_filter('rest_url', 'return_site_url'); function return_site_url() { return get_site_url(); }
but unfortunately that didn’t help. I also tried to hardcode (replace) the
rest_url()
with the url to our WP installation, but that didn’t work either. Any thoughts?- This reply was modified 2 years, 4 months ago by dvdm.
Anyone resolved this?
I’m using User Meta to register business accounts, and I’d like to use a custom field “business_name” as Display name for logged in Business users.
Fixed. The webserver rewrites were turned off ??
Very peculiar default server configuration.
Forum: Reviews
In reply to: [Simplr Registration Form Plus+] Warnings & noticesThanks for the quick reply!
(I just downloaded the latest version which showed these warnings.)I did indeed notice setting some values resolves a couple of these issues.
I’ve created a little workaround for some others:
in views/moderation.php
if (!is_object($simplr_reg)) $simplr_reg = new stdClass; //setup defaults foreach($defaults as $k => $v ) { $simplr_reg->$k = isset($simplr_reg->$k) ? $simplr_reg->$k : $defaults->$k; }
That resolves the better part of these messages. I think the other notices & warnings can be resolved in a similar way.
Cheers!
Daniel