Jaro
Forum Replies Created
-
Hi,
thanks for the reply. How I see it that this table is config tablewp_wfConfig
so, when the plugin is activated, default settings is inserted, includinglastNotificationID
soUPDATE
will work all the time, presuming there is noDELETE
for this row.
Regards,
JaroThank you @cookieyesteam for pointing me in the right direction. Here is the code that works for me, when performance cookies are allowed it will log the console. It may help somebody else.
document.addEventListener(‘cookieyes_consent_update’, function (e) {
if (e.detail && e.detail.accepted.includes(‘performance’)) {
console.log(‘Performance allowed for the first time’);
}
});
document.addEventListener(‘cookieyes_banner_load’, function (e){
if (e.detail && e.detail.categories && e.detail.categories.performance === true) {
console.log(‘Performance allowed repeated load’);
}
});
Hello @cookieyesteam, it has no effect on it. Probably pasebin URL didn’t work as expired. Here is the new one that is valid.
https://pastebin.com/eQPtmufj
There is a query string?LSCWP_CTRL=before_optm
that disables all caches and optimization, so with this you can see it doesn’t have an effect.As I said, I can adjust my code, but I need to know how to get from your code information about cookie approval status.
Thank you!
This is the staging site, I just don’t want to list the domain here so I pass it to you via paste bin for privacy purposes, thank you
https://pastebin.com/V7GBRvuv@cookieyesteam https://go.screenpal.com/watch/cZQI6KVRScn
they are on various places, this particular is under analytics tabBut I would rather know if there is a event or some king of trigger I can place into my code, so
when I get in Javascript if user already accepted and what has accepted.@cookieyesteam all vimeo cookies are on the list
Hello @cookieyesteam ,
here is staging site, the hero image will load video from vimeo. https://med.speedweb.xyz/fr/
Thank you!Forum: Plugins
In reply to: [Post Meta Data Manager] Fatal error on coupons because of wrong data typeHello @WpExpertPlugins,
it was 5 months ago. We uninstalled plugin.
If you want to replicate then create a dummy Woocoomerce website with CURCY multicurrency plugin and save the product, if I remember good. Or just check your code, where you’re manipulating $_POST data.
RegardsHi, thanks for the reply.
save this code into /wp-content/mu-plugins/trigger-error.php
Every time you make request in admin area it should write into error.log that is created within the same folder error warning like this:[09-Apr-2024 13:13:55 UTC] PHP Warning: ?Undefined variable $abc in D:\laragon\www\test-one\wp-content\mu-plugins\trigger-error.php on line 20
If your plugin is on, this won’t be written, turn it off and will be written.
Your developers need to search for PHP error handling functions and disable it, or add settings where it can be activated. And I can’t emphasis more that it SHOULD be activated by user’s choice, not by default plugin settings. You can’t mess up such an important part of development and maintenance. Thank you!<?php ini_set("log_errors", true ); if( !file_exists(__DIR__.'/error.log') ){ if(file_put_contents( __DIR__.'/error.log', '' )) { die( 'not writable folder '.__DIR__ ); } } ini_set('error_log', __DIR__.'/error.log'); add_action( 'admin_footer', function(){ echo $abc; });
@evgeniypkt and @johnbillion
I’ve found it! db.php wasn’t a file, it was a link that through my hosting’s file manager wasn’t visible. Once I connected via FTP I saw it and deleted it. After that, the plugin activates fine.I tried to purge OPcache, change PHP version, no change, still it’s throwing the same error. Any other suggestion?
Hello @villasupport
the same situation is in /woo-multi-currency/admin/product.php line 97
There could another instance, but I have no time to scan it.
Regards,
JaroHi @furqanfazal, thank you for your quick response!
I’ve created a simple plugin that tries to send itself. It will fail on my local and production that are connected to postmark via the same API key. if I remove an attachment, it will go through. Under the plugin are test data from both environments I’m testing. Please use your email to test ??
https://pastebin.com/0rRXUfDFForum: Plugins
In reply to: [SyntaxHighlighter Evolved] Latest version doesn’t parse shortcodesThank you, @fjorgemota snippet works!
Forum: Plugins
In reply to: [SyntaxHighlighter Evolved] Latest version doesn’t parse shortcodesHello @bluejay77
I use classic editor