Whenever i add any filter (comment_text, widget_text, etc), but in case there is no actual content and field returns null, your plugin throws fatal error:
Got error ‘PHP message: PHP Fatal error:? Uncaught TypeError: CryptX\\CryptX::addLinkToEmailAddresses(): Argument #1 ($content) must be of type string, null given
Getting error while trying to create a new post after updating to the latest version
TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, cannot access private method CryptX\\CryptX::addPostIdToExcludedList() in
wp-includes/class-wp-hook.php:326\nStack trace:\n#0
wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()\n#1 wp-includes/plugin.php(517): WP_Hook->do_action()\n#2
wp-includes/post.php(4839): do_action()\n#3
wp-admin/includes/post.php(759): wp_insert_post()\n#4
wp-admin/post-new.php(66): get_default_post_to_edit()\n#5 {main}\n thrown in
wp-includes/class-wp-hook.php on line 326′
If the plugin is in use in combination with WPML, site editing of the translations leads to a critical error. But i can’t see the detailed error message and wordpress seems to don’t send an email with the error like usual…
]]>The new update is causing a major problem. For some reason, on a desktop, all the pages look like they’re formatted for a phone. When the plugin is deactivated, the pages look normal again. Also, images are not showing.
]]>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.
]]>PHP Warning: Trying to access array offset on value of type null in /chroot/home/USER/DOMAIN/html/wp-content/plugins/cryptx/include/functions.php on line 428
Ran into this error when using WP-CLI. When using WP-CLI not all globals are available, if you could just put in a check that the variable exists that should do it. It’s in this part:
/**
* add ID to exclude list
*/
function rw_cryptx_insert_post($pID) {
global $cryptX_var, $post;
$rev = wp_is_post_revision($pID);
if($rev) $pID = $rev;
$b = explode(",", $cryptX_var['excludedIDs']); // LINE 428
if($b[0] == '') unset($b[0]);
foreach($b as $x=>$y) {
if($y == $pID) {
unset($b[$x]);
break;
}
}
if (isset($_POST['cryptxoff'])) $b[] = $pID;
$b = array_unique($b);
sort($b);
$cryptX_var['excludedIDs'] = implode(",", $b);
update_option( 'cryptX', $cryptX_var);
$cryptX_var = rw_loadDefaults(); // reread Options
}
CryptX 3.3.3.2 / WordPress 6.2 / PHP 8.0.28
]]>hi,
I love the idea of this plugin, but on our site it does not work well. In some places (eg footer) the email addresses are not replaced and in others the replacement is buggy (to do with formatting in Elementor by the looks of it). Would love to help by reporting these bugs: where can I do this?
]]>Hi!
Entry in WordPress “debug.log” für “Cryptx:
PHP Deprecated: Implicit conversion from float 12.5 to int loses precision in /xxx/xxx/xxx/xx/xxxxx/htdocs/WordPress_02/wp-content/plugins/cryptx/include/functions.php on line 127
PHP-Version: 8.1
WordPress Version: 6.1.1
Kind regards
Andy
I have used CryptX without an issue on my non-profit sites without issues (thank you, Ralf!). However, I just created a new WordPress implementation and activated CryptX. But, the encryption doesn’t work. I tried different settings on the Presentation tab, but no change. The e-mail address from the sidebar menu link is not encrypted.
Is it the theme?
]]>CryptX doesn’t seem to be working for email addresses inside of tables, or at least, inside of NinjaTables tables. How can this be addressed?
I have all the items checked for “Apply CryptX to”, and the posts are not excluded by ID. The “Type of decryption” is javascript.
Thanks for any help!
]]>Hi
Kleines aber feines Detail:
Im englischen hat Adressen zwei “D”s wenn man dein Plugin in WordPress auf englisch sucht, findet man es nicht.
https://plugins.trac.www.ads-software.com/browser/cryptx/trunk/readme.txt
wenn ich dieses versioning system oder trac verstehen würde, würd ich nen pull request machen. aber checks nicht
Liebe Grüsse aus Zürich
]]>Hi Guys,
on all WP-installations the assets of cryptx are loaded via a double-slashed path in the URL, see the 2 examples below:
https://TLD/wp-content/plugins/cryptx//js/cryptx.min.js?ver=5.7.1
https://TLD/wp-content/plugins/cryptx//css/cryptx.css?ver=5.7.1
May you fix this with the next release? Many thx for that, especially for the great plugin ??
Best regards
Daniel
Hi Ralf
Switching to PHP 8 produces this Fatal error:
Undefined constant “autolink” in cryptx/include/functions.php:78
Could this easily be fixed?
Danke Dir für dieses tolle plugin ??
]]>Hi! I’m using a shortcode (from the Instagram Feed plugin) to display an IG feed, but when there is an email address in the accompanying text of an IG post, CryptX changes it… which breaks the display, as you can see here:
(The page itself is here, but as the feed changes, the issue may not be seen: https://www.myparkgate.com/wp2020/child-care/ )
From the address forward, unformatted text from the IG post is displayed around the IG image.
I could turn off CryptX on this page… but there’s a bunch of email addresses on it, so I really can’t.
Can you advise? Thanks!
]]>Hi Ralf,
I am using your plugin since years. Thanks a lot.
But I do have now a similar problem like Neziah. I want to excluded a form field from WooCommerce endpoint in my account edit account.
If somehow wants to edit his account, the submission fails beacause html requires is set at the email field. If I could overwrite this, I am sure, some Woo process will not allow to save that.
You wrote that one can exclude page or post ID from hiding, but I don’t know the ID of my account | edit account. I even don’t know if this is created by some ID.
I also tried to get that fired only in “content”. But that won’t work.
Do you know any help to this?
KR
]]>The plugin also applies the conversion to email addresses entered in form fields.
For example: An email field is included in a form where a person enters an email address like [email protected]. When that form is submitted, if the page reloads to show the validation of other fields failed the email entered in the email field is replaced or converted to hello [at] example [dot] com. This then causes the form submission to fail (after correcting/entering other failed fields) if the person does not reenter the email in the correct format.
This leads to frustration and form abandonment.
Solution: The plugin should be able to exclude forms (or more specifically fields) by specifying an ID or class. You can also look at the popular contact forms e.g. Gravity forms etc. and atomically exclude their form email fields.
Hope you consider fixing this to help improve your plugin.
]]>Lieber Ralf
Wir vermissen schmerzlich die M?glichkeit via $args in der template function die E-Mail Adresse an verschiedenen Stellen auf der Website unterschiedlich darstellen zu k?nnen.
Gibt es dafür eine neue L?sung oder w?re es m?glich dies wieder zu integrieren?
Mit der neusten plugin Version gibt es zudem gar keine Ausgabe wenn $args definiert ist. Es w?re sch?n wenn es da zumindest ein Fallback zur Standard Anzeige geben würde.
Beispiel:
<?php encryptx(get_field('e-mail'), array('text' =>'E-Mail')); ?>
Herzlichen Dank!
Jan
Here’s a weird problem! Having only Cryptx, Social Warfare (free), Elementor, and Elementor Pro, the CryptX “Content” option is breaking the Posts widget from Elementor Pro, but only when Social Warfare is also activated!
Here’s a video demonstration: https://www.dropbox.com/s/mm1vupwjjirvjmm/cryptx%20elementor%20social%20warfare%20conflict.mp4?dl=0
After recording the video, I tried switching to the default Twenty Nineteen theme and it didn’t affect the problem.
So it’s a weird conflict between these three plugins.
I’m sharing this feedback with the relevant developers.
]]>Hallo Ralf,
Dein tolles Plugin verursacht in der ganz neuen Version 3.3.0 bei einigen Seiten diese Fehlermeldung:
Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ‘rw_cryptx_parse_request’ not found or invalid function name in /…/wp-includes/class-wp-hook.php on line 286
]]>It seems that CryptX does not generate a link when an email address includes a plus sign (+). Since this is a common way that Gmail and other services allow users to extend their addresses, this seems like a oversight. Is there a way to force all legal email addresses to become links with CryptX?
For example: [email protected] will generate a link, but [email protected] will not.
]]>It’s me again, having issues with escaping quotes again. So I’m working with a client using the Enfold theme. The plugin is working as intended, except that I suspect it’s running before the theme writes it to the page. So CryptX generates the JavaScript for Anti-spambot code such as :
javascript:DecryptX('...');
But when that code is concatenated with the rest of the page by the theme, it’s also done with single quotes. Which causes the link to break:
<a href='javascript:DecryptX('...');'>Link</a>
Could there be an option to maybe toggle which quotes are used? So in this case, i could make it use double-quotes to keep it working. Or if possible, not use quotes? I think that would improve compatibility a ton. Thanks!
]]>I see in the settings that: “Custom fields (works only with the_meta()!)”.
How can I learn what that means? I have custom fields generated by Pods with emails I’d like to obfuscate. What do I need to do with “the_meta()”?
Thanks!
]]>Ralph,
I have been using Cryptx for years – thank you.
However, on the above website, I’ve had to disable it as it conflicts with the memberpress plugin. It appears that the email address that gets sent via the memberpress plugin’s Paypal payment element is getting scrambled which obviously confuses Paypal and it doesn’t work.
I pointed this out to the Memberpress authors and they said it was an issue with Cryptx! I don’t necessarily agree with that but thought I’d pass the comment on!
Pete
]]>Ralph,
I have been using Crytx for years – thank you.
However, on the above website, I’ve had to disable it as it conflicts with the memberpress plugin. It appears that the email address that gets sent via the memberpress plugin’s Paypal payment element is getting scrambled which obviously confuses Paypal and it doesn’t work.
I pointed this out to the Memberpress authors and they said it was an issue with Cryptx! I don’t necessarily agree with that but thought I’d pass the comment on!
Pete
]]>Hi Ralf,
it seems that there is a small coexisting problem with cryptx and the famous shariff wrapper plugin for sharing posts gdpr compatible. I use both plugins on my Website and when you click on share per mail in one post the backlink to that post gets scrambled with extra chars. You can reproduce this on my website.
Any suggestions are much appreciated – perhaps there is an easy solution to this.
Thank you in advance and keep up the great work!
Hi,
I installed your plugin and it works great. But it doens’t encode the mailto link in de footer. Can you help me out?
]]>Sometimes cryptx generates hashes with double quotes, which breaks HTML links. When $blacklist in function rw_cryptx_generate_hash (functions.php) is expanded by:
'34', // Double quote
this problem vanishes.
Newest version throwing this error:
Warning: opendir(/var/www/[snip]/wp-content/plugins/cryptx/images): failed to open dir: No such file or directory in /var/www/[snip]/wp-content/plugins/cryptx/functions.php on line 212
Warning: readdir() expects parameter 1 to be resource, boolean given in /var/www/[snip]/wp-content/plugins/cryptx/functions.php on line 214
]]>I am having an issue with CryptX and the Envira Gallery Albums plugin. When both are being used, the Envira Gallery Albums display as blank pages. I was getting around this temporarily by adding the IDs of the albums to CryptX’s Excluded Post IDs list. However, I’m noticing that each time that I add a new Album, that field now gets reset or erased for some reason. Whatever album ID that I most recently added to the list somehow gets removed even though I am not even going into the CryptX plugin settings.
Has anyone else encountered this issue? I am able to work around it by just going in and re-applying my list of excluded IDs, but I am adding a lot of Albums to the website and having to remember to go in and make these adjustments each time makes it a bit more difficult.
Thanks,
Wil
Hi! With CryptX enabled, I’m finding that when I click an email link, the encryption/decryption is somehow failing, as the text that gets entered into my mail client’s “To” field is gibberish like “2p0o1s/l0@2y1f/r2v0e0r0n1.1d0o/m1d2t/d1u2g0.0c0a”.
Can you advise?
Thanks!
Adam