andrekelling
Forum Replies Created
-
Forum: Plugins
In reply to: [Plausible Analytics] 404 on proxy JS on version 2.5.4Had again a problem with the proxy JS not created on another site.
Which occurred after moving to another server and I guess had that suspicious JS file deleted.
I saw the wrong server path in the proxi switch info field. But this time switching proxy on and off did not recreated the file.
removing wp_option entry
plausible_analytics_proxy_resourceshelped to force recreate the JS fileForum: Plugins
In reply to: [Hungry REST API Monitor] option to skip certain headers propsthx,
works fine!Forum: Plugins
In reply to: [Hungry REST API Monitor] Fatal error on page editjust great!
works now on my side.
Forum: Plugins
In reply to: [Plausible Analytics] 404 on proxy JS on version 2.5.4Hey,
that makes totally sense with the hiding.
And yes there is a message informing about that!
But remembering that is another tough thing to do.500 errors are always logged in your PHP error log. Could you look up the related error and share it here?
Okay, i never worked with the WordPress error log.
Luckily my hosting provider has a nice error log UI and i dont need to set up anything around that.
I found a Fatal PHP Error! Which I really did not expect to have something to do with that.
Also i wasn’t recognized that anywhere else, all other things seemed to continue to work fine.
There is a location in the code whereclass MyCustomField extends acf_fieldacf_field class gets extended.
So its depending on the famous ACF plugin. Everything was working fine with that but somehow not when the REST call was made, i assume.
I fixed by just skipping that code with:// If ACF isn't active for some reason, fail gracefully.
if (!class_exists('acf_field')) {
return;
}
So actually it started with one problem and turned into another.
So thank you for helping me out that fast with your good ideas and remote debugging skills!Forum: Plugins
In reply to: [Plausible Analytics] 404 on proxy JS on version 2.5.4Hi,
okay, I had a problem with the non existent JS in the uploads dir.
I remember having deleted that ambiguous file when i was doing some security hardening a month ago.
some hash-named JS file in uploads dir looks suspicious.
i could now switch on and off several times the proxy setting and a hash-named JS file got created again. (on both version 2.5.0 and 2.5.4, i previously rolled back now i am up again)
so permissions to create that file are mostly fine.
i tested the URL param ?plausible_proxy=1 with inactive proxy setting in WP. but that didnt created the JS file as it seems. 404 again.
BUT still what i have with active proxy setting are 500 errors on POST request. they contain tracking payload.
https://my-domain.de/wp-json/19d094/v1/adc7/e5f4c29c
i guess its something with permission and security?!
i temporarily deactivated caching plugins and security plugins without any luck.- This reply was modified 3 months, 2 weeks ago by andrekelling.
hmm. no sorry, that won’t be possible.
i will do a debugging by myself and i may find something and post that here.and did you found something?
Forum: Plugins
In reply to: [Post Duplicator] Ampersand char in title encoded for duplicatejust great! resolves it not just for me, i’d say.
i created an account on the staging site for you. you should have gotten an email.
the staging works almost the same. you are required to login to see the site.you can click around like crazy there. but you have no file access:
define( 'DISALLOW_FILE_EDIT', true );i am really excited if you can find something.
okay,
here the config for the mail template: https://ibb.co/zPRTB1h
here how it looks in mail https://ibb.co/BrdR8Vk
so maybe something concerning other plugins in use. e.g. Conditional Fields for Contact Form 7 ?
Okay,thats is the relevant site with the contact form and file upload plugin active: https://plustaschen.de/kontakt/
The plugin is in current latest version 1.3.7.5Β there.
@glenwpcoder ping
from what my customer said the raw placeholder wasn’t visible ever when someone uploaded nothing. just a month ago.
You mean some snippet to hook in to that contact form 7 mail out template? yes please!
i am sure it would help others finding this post too!
Forum: Plugins
In reply to: [Post Duplicator] Ampersand char in title encoded for duplicateAh yes,
This is just visible in the classic editor.
But it still happens in the database that instead of a plain&char, a char&is saved there in thepost_title.
Can you confirm that?
So imagine you got a custom post type without the setting'show_in_rest' => truewill work in WordPress with the classic editor. This is what i got here.
If a Gutenberg editor is active, it displays the encoded ampersand as one plain ampersand char. So it might stays unnoticed.is this really thread resolved?
got a very similar issue here:Fatal error: Uncaught TypeError: Unsupported operand types: int + string in /wp-content/plugins/sportspress/includes/class-sp-league-table.php:396 Stackrunning with PHP v8.3.
(int) $totals[ $team_id ]['eventminutes'] + $minutes
there is happening some type casting for the oneinttype var and for the concatenated string type var not.
type strictness is an issue now!
so what could get done in between is just casting the second string var too and hope it’s correct without understanding the whole thing behind π(int) $totals[ $team_id ]['eventminutes'] + (int) $minutes
and then hope the next update will fix it.