Wordpress - [BUG] New Form save = error1

Here you can ask or discuss anything else you want...

Wordpress - [BUG] New Form save = error1

New postby masterix21 » Mon Oct 14, 2013 3:21 pm

Found another bug...

If you try to save a new form, wordpress will returns the error 1.

The problem is a wrong SQL query that returns the following error message:
#1366 - Incorrect integer value: '' for column 'redirect_delay' at row 1

::: SOLUTION :::


File: includes/admin/form_submit.php
Line: 19

Change from:
VALUES ( %s, %s, %s, %s, %s, %s, %s, %s, %d, %s, %d, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %d, %d, %d, %d, %d )

to:
VALUES ( %s, %s, %s, %s, %s, %s, %s, %s, %d, %s, %d, %s, %d, %s, %s, %s, %s, %s, %s, %s, %s, %s, %d, %d, %d, %d, %d )
masterix21
 
Posts: 12
Joined: Wed Oct 02, 2013 10:09 pm

Re: Wordpress - [BUG] New Form save = error1

New postby Simon » Wed Oct 16, 2013 4:04 pm

Fixed!

Thank you.
User avatar
Simon
Site Admin
 
Posts: 1306
Joined: Wed Jul 13, 2011 8:53 pm


Return to Open discussion

Who is online

Users browsing this forum: No registered users and 2 guests

cron