nealbo
Forum Replies Created
-
As I mentioned, the problem is resolved by deactivating and reactivating – the links themselves are correct.
I also haven’t created a custom post type for over 1 year so do not believe this can be the cause.
This happens every few days now with 500+ links generating 404 errors. I have to manually deactivate and active thirstyaffiliates every few days to keep the plugin functional. Can you not offer some kind of assistance here?
@alaasalama I use the feature as part of Wordfence. As I say, it is functional if I go directly to wp-login (which shows the standard login form), just not if I get redirected to the WP Staging log in form (with the WP Staging logo on it).
Thanks
Forum: Plugins
In reply to: [YASR - Yet Another Star Rating Plugin for WordPress] Fatal Error in AdminAlso, even when it is “fixed” temporarily if I go to /wp-admin/admin.php?page=freemius and turn on debugging, I get the following but only on /wp-admin/update-core.php Once debugging is turned off, the error is removed.
The previous errors I’ve mentioned seem to recur daily after I deactivate/activate.
Fatal error: Uncaught Error: Call to undefined method Freemius_Api_WordPress::RemoteRequest() in /homepages/40/xxxxxxxxxx/htdocs/clickandbuilds/Earnologist/wp-content/plugins/yet-another-stars-rating/vendor/freemius/wordpress-sdk/includes/class-fs-api.php:381 Stack trace: #0 /homepages/40/xxxxxxxxxx/htdocs/clickandbuilds/Earnologist/wp-content/plugins/yet-another-stars-rating/vendor/freemius/wordpress-sdk/includes/class-freemius.php(24868): FS_Api::remote_request('https://api.wor...', Array) #1 /homepages/40/xxxxxxxxxx/htdocs/clickandbuilds/Earnologist/wp-content/plugins/yet-another-stars-rating/vendor/freemius/wordpress-sdk/includes/class-fs-plugin-updater.php(933): Freemius::safe_remote_post('https://api.wor...', Array, 86400, 43200, false) #2 /homepages/40/xxxxxxxxxx/htdocs/clickandbuilds/Earnologist/wp-content/plugins/yet-another-stars-rating/vendor/freemius/wordpress-sdk/includes/class-fs-plugin-updater.php(621): FS_Plugin_Updater->fetch_wp_org_module_translation_updates('plugins', 'wp-sheet-editor...') #3 /homepages/40/xxxxxxxxxx/htdocs/clickandbuilds/Earnologist/wp-includes/class-wp-hook.php(310): FS_Plugin_Updater->pre_set_site_transient_update_plugins_filter(Object(stdClass)) #4 /homepages/40/xxxxxxxxxx/htdocs/clickandbuilds/Earnologist/wp-includes/plugin.php(205): WP_Hook->apply_filters(Object(stdClass), Array) #5 /homepages/40/xxxxxxxxxx/htdocs/clickandbuilds/Earnologist/wp-includes/option.php(2018): apply_filters('pre_set_site_tr...', Object(stdClass), 'update_plugins') #6 /homepages/40/xxxxxxxxxx/htdocs/clickandbuilds/Earnologist/wp-includes/update.php(391): set_site_transient('update_plugins', Object(stdClass)) #7 /homepages/40/xxxxxxxxxx/htdocs/clickandbuilds/Earnologist/wp-includes/class-wp-hook.php(308): wp_update_plugins('') #8 /homepages/40/xxxxxxxxxx/htdocs/clickandbuilds/Earnologist/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters('', Array) #9 /homepages/40/xxxxxxxxxx/htdocs/clickandbuilds/Earnologist/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #10 /homepages/40/xxxxxxxxxx/htdocs/clickandbuilds/Earnologist/wp-admin/admin.php(385): do_action('load-update-cor...') #11 /homepages/40/xxxxxxxxxx/htdocs/clickandbuilds/Earnologist/wp-admin/update-core.php(10): require_once('/homepages/40/d...') #12 {main} thrown in /homepages/40/xxxxxxxxxx/htdocs/clickandbuilds/Earnologist/wp-content/plugins/yet-another-stars-rating/vendor/freemius/wordpress-sdk/includes/class-fs-api.php on line 381
If I disable YASR, then turn on debugging as above and go to /wp-admin/update-core.php there is no fatal error.
- This reply was modified 1 year, 8 months ago by nealbo.
Forum: Plugins
In reply to: [YASR - Yet Another Star Rating Plugin for WordPress] Fatal Error in Admin@dudo I’ve emailed over the screenshots including the Freemius page in admin.
The issue occured again today, I was able to resolve again (temporarilly presumably) by deactivating and then reactivating YASR.
Forum: Plugins
In reply to: [YASR - Yet Another Star Rating Plugin for WordPress] Fatal Error in Admin@dudo, thanks for passing it along.
I was able to fix again by renaming the YASR folder again. All seems ok for now, but of course I thought the same last time I deactivated and activated the plugin!
Do you have a support email that I could send the screenshots to instead? I’m not 100% comfortable sharing back-end info on public forums.
Forum: Plugins
In reply to: [Calculated Fields Form] Dynamically evaluate a single variable<script>fbuilderjQuery(document).one('showHideDepEvent', function(){ if(typeof myvar != 'undefined') getField('fieldname1_1').setVal(myvar); if(typeof myvar2 != 'undefined') getField('fieldname5_2').setVal(myvar); }); </script>
I figured it out, when referencing with multiple forms, the second form needs _2, third needs _3 etc. for the fieldnames even when there’s no overlap. I added the _1 just for uniformity.
Thanks again for your help, all working well now!
- This reply was modified 1 year, 8 months ago by nealbo.
Forum: Plugins
In reply to: [Calculated Fields Form] Dynamically evaluate a single variable@codepeople I’ve ran into a problem that I was hoping you could help with.
I have 2 different forms, with two different variables (set up as above), but the second form doesn’t have the button text updated using your HTML code. Is there anyway to make this work for multiple different forms with different variables ont he same page?
Forum: Plugins
In reply to: [Calculated Fields Form] Dynamically evaluate a single variable@codepeople wow thank you so much for the incredibly fast response on this!
This worked perfectly and my form is now working exactly as I wanted it to.
Thanks again!
Thanks for checking this out. I cannot seem to get the results you have from a specific machine, both in a normal window and in incognito. I checked a second machine though and was able to replicate what you see.
Unsure what causes the difference but please close this off for now as resolved.
Thanks again!
I’ve resolved it, and it’s just as bizarre as the problem! I’d read that not having the https redirect high up enough in the .htaccess file can cause issues in wordpress – see https://webmasters.stackexchange.com/a/125746 and scroll down to “solution”. Curiously, the person having the issue also uses the same web host as me – Ionos (perhaps relevant?). Anyway, I grabbed:
#Begin Really Simple Security <IfModule mod_rewrite.c> RewriteEngine on RewriteCond %{HTTPS} !=on [NC] RewriteCond %{REQUEST_URI} !^/\.well-known/acme-challenge/ RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [R=301,L] </IfModule> #End Really Simple Security
Which as you can see in my larger .htaccess dump above was quite low down and added it almost at the very top just underneath:
#BEGIN Really Simple SSL LETS ENCRYPT RewriteRule ^.well-known/(.*)$ - [L] #END Really Simple SSL LETS ENCRYPT
And that’s the problem resolved! In
To make this even more unusual, I can see that the redirect works with no issue for uploads:
https://www.earnologist.com/wp-content/uploads/2023/01/Star-Trek-Fleet-Command-Offerwall-Guide.jpg correctly redirects to https://www.earnologist.com/wp-content/uploads/2023/01/Star-Trek-Fleet-Command-Offerwall-Guide.jpg for example
I’ve removed the line and cleared my caches but the issue remains. I believe that line simply redirects from my old URL structure (year/month/day etc.)
Hi @jarnovos , there is quite a lot more in the htaccess:
Caching plugins do not appear to have any effect when I’ve just tested now.
# BEGIN LSCACHE # END LSCACHE # BEGIN NON_LSCACHE # END NON_LSCACHE #BEGIN Really Simple SSL LETS ENCRYPT RewriteRule ^.well-known/(.*)$ - [L] #END Really Simple SSL LETS ENCRYPT RedirectMatch 301 ^/([0-9]{4})/([0-9]{2})/([0-9]{2})/(?!page/)(.+)$ https://www.earnologist.com/$4 <IfModule mod_deflate.c> AddOutputFilterByType DEFLATE text/plain AddOutputFilterByType DEFLATE text/html AddOutputFilterByType DEFLATE text/xml AddOutputFilterByType DEFLATE text/css AddOutputFilterByType DEFLATE text/cache-manifest AddOutputFilterByType DEFLATE text/javascript AddOutputFilterByType DEFLATE text/vcard AddOutputFilterByType DEFLATE text/vnd.rim.location.xloc AddOutputFilterByType DEFLATE text/vtt AddOutputFilterByType DEFLATE text/x-component AddOutputFilterByType DEFLATE text/x-cross-domain-policy AddOutputFilterByType DEFLATE application/xml AddOutputFilterByType DEFLATE application/xhtml+xml AddOutputFilterByType DEFLATE application/rss+xml AddOutputFilterByType DEFLATE application/javascript AddOutputFilterByType DEFLATE application/x-javascript AddOutputFilterByType DEFLATE application/json AddOutputFilterByType DEFLATE application/ld+json AddOutputFilterByType DEFLATE application/atom+xml AddOutputFilterByType DEFLATE application/manifest+json AddOutputFilterByType DEFLATE application/rdf+xml AddOutputFilterByType DEFLATE application/rss+xml AddOutputFilterByType DEFLATE application/schema+json AddOutputFilterByType DEFLATE application/vnd.geo+json AddOutputFilterByType DEFLATE application/vnd.ms-fontobject AddOutputFilterByType DEFLATE application/x-font-ttf AddOutputFilterByType DEFLATE application/x-javascript AddOutputFilterByType DEFLATE application/x-web-app-manifest+json AddOutputFilterByType DEFLATE application/xhtml+xml AddOutputFilterByType DEFLATE font/eot AddOutputFilterByType DEFLATE font/opentype AddOutputFilterByType DEFLATE image/bmp AddOutputFilterByType DEFLATE image/svg+xml AddOutputFilterByType DEFLATE image/vnd.microsoft.icon AddOutputFilterByType DEFLATE image/x-icon </IfModule> <IfModule mod_expires.c> ExpiresActive On AddType application/x-font-woff2 .woff2 ExpiresByType application/x-font-woff2 "access plus 1 month" ExpiresByType text/css A2419200 ExpiresByType text/x-component A2419200 ExpiresByType application/x-javascript A2419200 ExpiresByType application/javascript A2419200 ExpiresByType text/javascript A2419200 ExpiresByType text/x-js A2419200 ExpiresByType text/html A3600 ExpiresByType text/richtext A3600 ExpiresByType image/svg+xml A3600 ExpiresByType text/plain A3600 ExpiresByType text/xsd A3600 ExpiresByType text/xsl A3600 ExpiresByType text/xml A3600 ExpiresByType video/asf A2419200 ExpiresByType video/avi A2419200 ExpiresByType image/bmp A2419200 ExpiresByType application/java A2419200 ExpiresByType video/divx A2419200 ExpiresByType application/msword A2419200 ExpiresByType application/vnd.ms-fontobject A2419200 ExpiresByType application/x-msdownload A2419200 ExpiresByType image/gif A2419200 ExpiresByType application/x-gzip A2419200 ExpiresByType image/x-icon A2419200 ExpiresByType image/jpeg A2419200 ExpiresByType application/json A2419200 ExpiresByType application/vnd.ms-access A2419200 ExpiresByType audio/midi A2419200 ExpiresByType video/quicktime A2419200 ExpiresByType audio/mpeg A2419200 ExpiresByType video/mp4 A2419200 ExpiresByType video/mpeg A2419200 ExpiresByType application/vnd.ms-project A2419200 ExpiresByType application/x-font-otf A2419200 ExpiresByType application/vnd.ms-opentype A2419200 ExpiresByType application/vnd.oasis.opendocument.database A2419200 ExpiresByType application/vnd.oasis.opendocument.chart A2419200 ExpiresByType application/vnd.oasis.opendocument.formula A2419200 ExpiresByType application/vnd.oasis.opendocument.graphics A2419200 ExpiresByType application/vnd.oasis.opendocument.presentation A2419200 ExpiresByType application/vnd.oasis.opendocument.spreadsheet A2419200 ExpiresByType application/vnd.oasis.opendocument.text A2419200 ExpiresByType audio/ogg A2419200 ExpiresByType application/pdf A2419200 ExpiresByType image/png "access plus 1 year" ExpiresByType application/vnd.ms-powerpoint A2419200 ExpiresByType audio/x-realaudio A2419200 ExpiresByType image/svg+xml A2419200 ExpiresByType application/x-shockwave-flash A2419200 ExpiresByType application/x-tar A2419200 ExpiresByType image/tiff A2419200 ExpiresByType application/x-font-ttf A2419200 ExpiresByType application/vnd.ms-opentype A2419200 ExpiresByType audio/wav A2419200 ExpiresByType audio/wma A2419200 ExpiresByType application/vnd.ms-write A2419200 ExpiresByType application/font-woff A2419200 ExpiresByType application/vnd.ms-excel A2419200 ExpiresByType application/zip A2419200 </IfModule> <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> AddHandler x-mapp-php5.5 .php #Begin Really Simple Security <IfModule mod_rewrite.c> RewriteEngine on RewriteCond %{HTTPS} !=on [NC] RewriteCond %{REQUEST_URI} !^/\.well-known/acme-challenge/ RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [R=301,L] </IfModule> #End Really Simple Security # BEGIN WordPress # The directives (lines) between "BEGIN WordPress" and "END WordPress" are # dynamically generated, and should only be modified via WordPress filters. # Any changes to the directives between these markers will be overwritten. <IfModule mod_rewrite.c> RewriteEngine On RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPress # Wordfence WAF <Files ".user.ini"> <IfModule mod_authz_core.c> Require all denied </IfModule> <IfModule !mod_authz_core.c> Order deny,allow Deny from all </IfModule> </Files> # END Wordfence WAF
Thanks!
I’ve implemented what you suggested but looking at my cookies I’m noticing that the plugin isn’t working quite correctly. Would appreciate your help on this:
Before I click the consent, a blank cookie domain “https://tpc.googlesyndication.com” loads but no indication of any data/actual cookies. (Not sure if this is an issue?)
If I click reject all, then the following cookies are created against my domain:
1P_JAR, NID, CONSENT, SOCS, AEC, OGPC all with the domain listed as .google.com
When you say include in the second layer do you mean:
2. Declare how Google will use your user’s personal data when they give consent on their site/app e.g. by including a link to Google’s Privacy & Terms site. (https://policies.google.com/technologies/partner-sites). This information can be added to the cookie description of Google cookies from?Cookie Manager > Edit cookie?(https://www.google.com/about/company/user-consent-policy-help/)
The second consent is actually Google’s own built in adsense personalization consent which after many hours of searching I have found people claim that they were only able to get past the GDPR review by including both a consent plugin (like CookieYes) plus Google’s Adsense GDPR messaging.