The following warnings occurred:
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 783 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 783 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $newpmmsg - Line: 40 - File: global.php(841) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/global.php(841) : eval()'d code 40 errorHandler->error
/global.php 841 eval
/printthread.php 16 require_once
Warning [2] Undefined array key "style" - Line: 909 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 909 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined property: MyLanguage::$lang_select_default - Line: 5024 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 5024 errorHandler->error
/global.php 909 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key "additionalgroups" - Line: 7162 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 7162 errorHandler->error
/inc/functions.php 5044 is_member
/global.php 909 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key 1 - Line: 1415 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 1415 errorHandler->error
/inc/functions.php 1370 fetch_forum_permissions
/printthread.php 76 forum_permissions
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error



Form Tools
Using FT with wordpress - Printable Version

+- Form Tools (https://forums.formtools.org)
+-- Forum: Form Tools (https://forums.formtools.org/forumdisplay.php?fid=1)
+--- Forum: API (https://forums.formtools.org/forumdisplay.php?fid=17)
+--- Thread: Using FT with wordpress (/showthread.php?tid=4650)



Using FT with wordpress - 5k313t0r - Sep 23rd, 2014

I have a form built in a page in Wordpress. I have included require('tools/formtools/global/api/api.php') before the get_header() hook and everything seems to be working. That is until you submit a form where the CAPTCHA being displayed with ft_api_display_captcha() function has been entered incorrectly. On other forms that I have built when you return to the page you can use the session variables to fill back in the form fields and the ft_api_display_post_form_captcha_error() function displays an error. Not having any luck using this in wordpress. The $_SESSION["form_tools_form_data"] values don't seem to exist.

Is this maybe because of the fact that wordpress doesn't use sessions by default? Anyone able to help point me in the right direction please?

Thank you in advance!


RE: Using FT with wordpress - Joe - Sep 24th, 2014

The WordPress module needs to be updated. It has issues with the most recent version of WordPress and does not work. One of the many items on our to-do list.

Cheers,

Joe


RE: Using FT with wordpress - 5k313t0r - Sep 24th, 2014

Hi Joe,

Thank you for getting back to me. I should have clarified that I am not using the Wordpress module/plugin. Sorry. I have just built an html form that I hard coded in a custom page template page-contact-us.php and the form posts to process.php. I am just not getting process.php returning any values in $_SESSION["form_tools_form_data"] when the captcha fails and I am redirected back to the form page. Is this still just a compatibility issue with WP? Or is there something I can try/do to make sure the form values are passed back to the page to refill the form fields?

Thanks Joe,
Justin

(Sep 24th, 2014, 4:21 PM)Joe Wrote: The WordPress module needs to be updated. It has issues with the most recent version of WordPress and does not work. One of the many items on our to-do list.

Cheers,

Joe