• Resolved jamminjames

    (@jamminjames)


    Somehow, the “Disable CryptX for this post/page” checkbox for pages keeps getting unchecked. The option is not sticking for some reason. How to fix? Thanks.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Ran into the same thing except when I was trying to set a post ID to be excluded. I tracked it down to being wiped whenever Elementor saved a page. Iin the error log I see this:

    PHP Warning: Undefined array key “cryptX_var” in /chroot/home/username/html/wp-content/plugins/cryptx/include/admin_option_page.php on line 83

    In the code they have :

    $saveOptions = cryptx_sanitize_data($_POST[‘cryptX_var’]);

    But it doesn’t check if the variable exists in the first place or if it’s a valid save request. It just takes it for granted, and goes “i don’t see any post data, so you MUST mean you want to reset your settings” and then it does so.

    Thread Starter jamminjames

    (@jamminjames)

    Yes, same circumstance for me — happened when I set post ID to be excluded. Did you make a change to the file, and if so, what, exactly? It seems the plugin maker isn’t monitoring this forum, and they haven’t updated the plugin in 10 months.

    Plugin Author Ralf Weber

    (@d3395)

    Hi @jamminjames ,
    Hi @gmariani405 ,

    I got the mail of your post here this morning, and I tried to get time to fix your problem. I decided to rewrite the main part of the plugin as first step of my planed transformation of the code to classes.

    Please update to to 3.4 and check if your problem is fixed or still there. I would be happy to receive feedback ??

    Kind regards
    Ralf

    I updated to PHP 8.2, updated the plugin. Checked the settings were saved, went to Elementor and re-saved a change. Loaded the page again and checked the settings and it appears to have held. So, so far so good. If i see anything else I”ll be sure to note it. Thanks for the quick turn around!

    Plugin Author Ralf Weber

    (@d3395)

    Thanks for the quick positive reply ??
    I will mark this issue as resolved.

    Thread Starter jamminjames

    (@jamminjames)

    Thanks, Ralf!

    Thread Starter jamminjames

    (@jamminjames)

    Hold the phone! The update is causing a major problem. For some reason, on a desktop, all the pages look like they’re formatted for a phone. Will report on a new thread.

    • This reply was modified 5 months, 1 week ago by jamminjames.
Viewing 7 replies - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.