• Resolved toddhalfpenny

    (@toddhalfpenny)


    Hi,

    Just done a fresh install and I was unable to set the option to “Enable Blocking of EU Sales”. When checking this and clickinh save the screen just goes white.

    I have put debug on and saw a fatal error. I noticed that in v1.2.1 you added the use of sanitize_text on lines 303 and 597. I think this should be sanitize_text_field (I have tried this out myself and it seems to be better).

    I’m happy to raise a git issue and PR for this if you’d like, please let me know if you’d like that – it was prob not spotted as it only affects fresh installs of the plugin.

    https://www.ads-software.com/plugins/edd-prevent-eu-checkout/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Nah this is fine. I’ll push a fix in a moment. FYI, it would help if you’d provide the full error ??

    Call to undefined function sanitize_text() ….

    *facepalm*

    I pushed the pre-edited version apparently since it’s fixed in local dev.

    Thread Starter toddhalfpenny

    (@toddhalfpenny)

    Cool, and yes you’re right, I should have posted the full error. Laziness on my part as I’d already applied the fix and didn’t want to break it again.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘1.2.1 Fatal Error – use of sanitize_text’ is closed to new replies.