• Resolved jackfear

    (@jackfear)


    Hello, after I installed the plugin and used the widget function to place it on my website I’me getting a few undefined errors. Anything I can do you remove those? Below are the errors.

    Notice: Undefined index: payment_period in /Users/jackfearing/Sites/joints/wp-content/plugins/responsive-mortgage-calculator/includes/LiddMCForm.php on line 86

    Notice: Undefined variable: input in /Users/jackfearing/Sites/joints/wp-content/plugins/responsive-mortgage-calculator/includes/LiddMCHiddenInput.php on line 29

    Notice: Undefined variable: input in /Users/jackfearing/Sites/joints/wp-content/plugins/responsive-mortgage-calculator/includes/LiddMCHiddenInput.php on line 29

    Notice: Undefined variable: input in /Users/jackfearing/Sites/joints/wp-content/plugins/responsive-mortgage-calculator/includes/LiddMCHiddenInput.php on line 29

    https://wordpress.org/plugins/responsive-mortgage-calculator/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi,

    Thanks for pointing this out. There was a default missing for the payment_period on activation.

    Go to the settings page and click save. That should initialize the default payment_period value and get rid of the errors.

    Thread Starter jackfear

    (@jackfear)

    Thanks for the reply. After I updated the settings page it did remove the error on the liddMCForm.php line 86 however I’m still receiving errors for the LiddMCHiddenInput.php files on the page. See below.

    Is there anything I can or should do?

    BTW — I do have DEBUG Mode turned on.

    =================================================
    Notice: Undefined variable: input in /Users/jackfearing/Sites/joints/wp-content/plugins/responsive-mortgage-calculator/includes/LiddMCHiddenInput.php on line 29

    Notice: Undefined variable: input in /Users/jackfearing/Sites/joints/wp-content/plugins/responsive-mortgage-calculator/includes/LiddMCHiddenInput.php on line 29

    Notice: Undefined variable: input in /Users/jackfearing/Sites/joints/wp-content/plugins/responsive-mortgage-calculator/includes/LiddMCHiddenInput.php on line 29

    There is an error in the code in said file on said line. I’ve correcting it in the current version and pushed the update. You can correct it yourself by opening includes > LiddMCHiddenInput.php and changing it from $input .= ... to $input = .... The period before the = is causing the issue.

    Thread Starter jackfear

    (@jackfear)

    Yeap, that did it. Thanks for the quick response and for the FIX!!!!

    Excellent. I’m marking this as resolved.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘UNDEFINED ERRORS’ is closed to new replies.