Update causes bad website format problem
-
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.
- This topic was modified 2 months, 4 weeks ago by jamminjames.
-
Hi, that sounds really spooky. Can you send me a link to a page, so that I can have a look a the html source code? Do you use a page builder like Elementor? With Divi I already tested the new version without problems.
Please help me find the problem, because without being able to reproduce it myself it seems very difficult for me to find the cause of the behavior.
The website is using the Vantage theme which uses SiteOrigin. I can’t leave the website in that state, but I could activate the plugin temporarily and copy the html source code for you, if you like. Otherwise, we’d have to set a short amount of time for you to inspect it while the plugin is activated, preferably after midnight PST.
The HTML source code of the “scrambled” page and a screenshot of the page would be great. I can than compare it to the “normal” state without the activated plugin. Maybe I find the reason.
Okay, the page (just an example, it’s affecting all pages) is: https://www.ecosacramento.net/about-us/
A screenshot and html file are here.
Good luck!
Thanks for the provided data.
Can you tell me what settings you used for the plugin? Especially for the presentation section.
I added screenshots for the settings pages.
Same problem…
Fatal error: Uncaught TypeError: CryptX\CryptX::cryptXShortcode(): Argument #1 ($content) must be of type ?string, array given, called in /home/clients/0642860bc6768c67a514349740331c5a/web/wp-includes/shortcodes.php on line 433 and defined in /home/clients/0642860bc6768c67a514349740331c5a/web/wp-content/plugins/cryptx/classes/CryptX.php:133 Stack trace: #0 /home/clients/0642860bc6768c67a514349740331c5a/web/wp-includes/shortcodes.php(433): CryptX\CryptX->cryptXShortcode(Array, ‘<p>Universit\xC3\xA9 …’, ‘cryptx’) #1 [internal function]: do_shortcode_tag(Array) #2 /home/clients/0642860bc6768c67a514349740331c5a/web/wp-includes/shortcodes.php(273): preg_replace_callback(‘/\\[(\\[?)(cryptx…’, ‘do_shortcode_ta…’, ‘[cryptx]<p>Univ…’) #3 /home/clients/0642860bc6768c67a514349740331c5a/web/wp-content/plugins/cryptx/cryptx.php(45): do_shortcode(‘[cryptx]<p>Univ…’) #4 /home/clients/0642860bc6768c67a514349740331c5a/web/wp-content/themes/ergopix-explore/footer.php(7): encryptx(‘<p>Universit\xC3\xA9 …’) #5 /home/clients/0642860bc6768c67a514349740331c5a/web/wp-includes/template.php(810): require_once(‘/home/clients/0…’) #6 /home/clients/0642860bc6768c67a514349740331c5a/web/wp-includes/template.php(745): load_template(‘/home/clients/0…’, true, Array) #7 /home/clients/0642860bc6768c67a514349740331c5a/web/wp-includes/general-template.php(92): locate_template(Array, true, true, Array) #8 /home/clients/0642860bc6768c67a514349740331c5a/web/wp-content/themes/ergopix-explore/front-page.php(264): get_footer() #9 /home/clients/0642860bc6768c67a514349740331c5a/web/wp-includes/template-loader.php(106): include(‘/home/clients/0…’) #10 /home/clients/0642860bc6768c67a514349740331c5a/web/wp-blog-header.php(19): require_once(‘/home/clients/0…’) #11 /home/clients/0642860bc6768c67a514349740331c5a/web/index.php(17): require(‘/home/clients/0…’) #12 {main} thrown in /home/clients/0642860bc6768c67a514349740331c5a/web/wp-content/plugins/cryptx/classes/CryptX.php on line 133
- This reply was modified 2 months, 4 weeks ago by basicweb.
Which PHP version are you using?
PHP Version 8.2.19
And the code is:
$content = get_field(“adresse”, “option”); // Advanced Custom Field
echo encryptx($content);- This reply was modified 2 months, 4 weeks ago by basicweb.
Ahhh, okay. That helps me. 👍
Give me a little time…….In case, the field “adresse” is a WYSIWYG
I think I found my error and fixed it in version 3.4.3. I would like to thank you for your great support in troubleshooting 👍 and for your patience with me.
If the error is not fixed after all… Round 2 of the code review 🥳Everything’s OK for me!
Thank you for the feedback and your help to fix the bug 😀
Hey Ralf,
there is still an error at PHP 8.1. (V 3.4.3 is installed):
AH01071: Got error ‘PHP message: PHP Fatal error: Uncaught TypeError: encryptx(): Argument #2 ($args) must be of type string, array given, called in…
Regards,
Ralph
- The topic ‘Update causes bad website format problem’ is closed to new replies.