bynicolas
Forum Replies Created
-
adding
$form_data = esc_sql($form_data);toinc/admin-form-details.php at line 80seem to have fixed it. but I’m not sure about lines 315, and 332 from
inc/admin-subpage.php. are you sure the patch is needed there too?well in my case it’s a long sentence containing single quotes. it’s a “I confirm to be emailed back” checkbox
WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ...";}}' WHERE fo' at line 2]I believe this is because checkbox are saved as array and you then have an array to string conversion.
This happens when you click on message and it tries to update the read status messing with the serialization
Hello,
I have the same issue,
I believe it comes from the sterilization as the op mentioned. I would add that the issue is present when i have checkboxes in the form (for me at least).
Checkboxes are serialized as arrays and I think that this causes the issue we face here.
Please advise or provide a fix for this
Thanks
Forum: Plugins
In reply to: [Contact Form 7] Received email but no notification showedSame issue here, this is related to: https://ww.wp.xz.cn/support/topic/uncaught-typeerror-when-submitting/
EDIT
Found a fix. The CF7 customizer was the issue for me. disabled it and the issue went away.
This post helped me: https://stackoverflow.com/questions/47093598/wordpress-contact-form-7-stuck-sending-contact-form
- This reply was modified 8 years, 6 months ago by bynicolas.
Forum: Plugins
In reply to: [Contact Form 7] Uncaught TypeError when submittingSame here, still trying to figure this out
related to: https://ww.wp.xz.cn/support/topic/received-email-but-no-notification-showed/
EDIT
Found a fix. The CF7 customizer was the issue for me. disabled it and the issue went away.
This post helped me: https://stackoverflow.com/questions/47093598/wordpress-contact-form-7-stuck-sending-contact-form
No this is working, sorry for this
Unfortunately this is true,
Last update broke so many things! I get all weird behaviours, missing files, functions that changed name without changelogs, and sadly, it breaks also their themes.
Forum: Fixing WordPress
In reply to: Question about moving to a new ISP2 things might be happening. the DB name on the new ISP is not the same so the values in
wp-config.phpare wrong. Be sure you have the correct DB username/password on the ISP set in wp-config.phpOther thing, home directory path is most likely different, try using this script https://github.com/interconnectit/Search-Replace-DB to scan for
/var/www/old/site/homeand replace to/var/www/new/site/home- This reply was modified 9 years, 2 months ago by bynicolas.
Forum: Fixing WordPress
In reply to: Can’t login to wordpress after changing domain nameTry updating your database with this script Search-Replace-DB. You might have a serialization error in your DB.
Make sure you have a backup of your DB before running this script
Forum: Fixing WordPress
In reply to: continuous index.pxp redirect to the main rootHave you installed a plugin recently? In any case, try to disable every plugin, one by one to find the rogue one… this could be due to your theme also. Try a default theme (with no modification in functions.php)
Forum: Plugins
In reply to: Restrict Visitors from Viewing Videos?I have wrote an article on the subject of content restriction, check it out. I explain how you can do just that.
Feel free to comment if you have more question
https://www.bynicolas.com/code/need-know-content-restriction-wordpress/
Hello, I wrote a detailed article explaining how to restrict content access to logged in users. It might help some people better understand the way WP works.
Cheers!