joelschmid
Forum Replies Created
-
Forum: Plugins
In reply to: [Companion Auto Update] Multisite – Has not updated WordPressHey guys
I just tried it on my end. It does not yet work with wordpress multisites. WordPress, Plugins and Themes are not updated.
See some more information below:
Array ( [0] => stdClass Object ( [id] => 1 [name] => plugins [onoroff] => on ) [1] => stdClass Object ( [id] => 2 [name] => themes [onoroff] => on ) [2] => stdClass Object ( [id] => 3 [name] => minor [onoroff] => on ) [3] => stdClass Object ( [id] => 4 [name] => major [onoroff] => on ) [5] => stdClass Object ( [id] => 6 [name] => send [onoroff] => on ) [6] => stdClass Object ( [id] => 7 [name] => sendupdate [onoroff] => on ) [7] => stdClass Object ( [id] => 8 [name] => notUpdateList [onoroff] => ) [8] => stdClass Object ( [id] => 9 [name] => translations [onoroff] => on ) [9] => stdClass Object ( [id] => 10 [name] => wpemails [onoroff] => on ) [10] => stdClass Object ( [id] => 11 [name] => notUpdateListTh [onoroff] => ) [11] => stdClass Object ( [id] => 12 [name] => html_or_text [onoroff] => html ) [12] => stdClass Object ( [id] => 13 [name] => allow_administrator [onoroff] => on ) [13] => stdClass Object ( [id] => 14 [name] => allow_editor [onoroff] => ) [14] => stdClass Object ( [id] => 15 [name] => allow_author [onoroff] => ) )
Forum: Plugins
In reply to: [Companion Auto Update] Multisite – Has not updated WordPressSame issue here, wordpress Updates nor plugin updates work when using this plugin on a multisite. Any update when companion update 3.5.5 will be released?
Hello
Sorry for the late reply.
Yes it is a multisite and I’m using WPML to translate the website.
I was able to solve the problem by manually editing the following file /wp-content/plugins/cookie-notice/js/front.js and changing the following line
//document.cookie = cnArgs.cookieName + '=' + cookie_value + ';expires=' + later_date.toUTCString() + ';' + ( cnArgs.cookieDomain !== undefined && cnArgs.cookieDomain !== '' ? 'domain=' + cnArgs.cookieDomain + ';' : '' ) + 'path=/;' + ( cnArgs.secure === '1' ? 'secure;' : '' );
However, this change might not survive the next update ??
- This reply was modified 5 years, 10 months ago by joelschmid.
@geertvanderheide
Hey thanks so much for your detailed feedback! Much appreciated!
Hmm actually it is a wordpress multisite, any idea how I could resolve this issue? Is it possible to define a variable depending on the site?I have the following problem:
When a user accepts the cookies on a different page than the homepage, it saves the path of that page in the path of ‘cookie_notice_accepted’ (for example /en/contact). This means the user will get the cookie notice on every other page he visits until he has accepted cookies on all pages.
Only when the user accepts the cookies on the homepage and the path is saved as / or /en, it works fine for all pages and the notice doesn’t show up again.
Do you have the same behaviour on your page using WPML?
Thanks in advance for your help!
Hello
The Script Blocking is now working with WP Rocket if you activate separate cache files for mobile devices.
To do that, go to WP Rocket settings > Cache tab > and enable “Separate cache files for mobile devices” > Save settings.Furthermore, the website has to be (automatically) reloaded in order that the tracking code appears.
Would it be possible to implement the blocking tracking code with JavaScript, so that the tracking code gets implemented without reloading the page?
Thank you in advance for your help!
Hello @dfactory
I got the following response from WP Rocket:
I’ve been able to reproduce the issue you described on my own site.
However, the behavior does conform to how our compatibility code for this plugin is currently written, in that it creates two versions of the page, one for when the cookie is set, and one for when the cookie isn’t set.
That being said, I can see how this causes an issue when you’re using the Script blocking feature of the plugin to include a script only once the cookie is accepted — once the page is already cached without the cookie, the script won’t be included until the cache for that page has been cleared and regenerated with the cookie.
Maybe this helps you to adapt it on your end if it’s easier? Otherwise I would recommend you to get in touch with WP Rocket directly.
Cheers, Jo?l
Hello dFactory,
I figured out in the meantime that the caching plugin WP Rocket is causing this issue. Even though according to them your plugin seems to be compatible: https://docs.wp-rocket.me/article/687-which-cookie-law-plugins-are-compatible-with-wp-rocket
I created a ticket with WP Rocket. I’ll let you know once I have more information.
I have the same problem. Were you able to find a solution?
I have the same problem! Even after refreshing the homepage the error persists. However, once I change the site the cookies appear. I guess this is a bug which should be fixed asap, otherwise my homepage will not be tracked at all and with it most visitors.
Forum: Plugins
In reply to: [Custom Post Type Permalinks] Error with WPMLSame problem here! I would like to have %category%/%postname%/ with %category% being the primary category. Did you guys find a solution to this?
Hey matt!
See following site: https://kamerungo.ch/
Same error here, furthermore the backup seems to use all available memory. Increasing memory doesn’t solve the problem.
I was able to solve my problem by buying the AAM Plus Package.
Hey @oscargare
Great! Do you already have a date fixed?