• Will this issue be fixed at any time please? I cant save options / settings without there being an internal 500 error

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author liddweaver

    (@liddweaver)

    It sounds like a PHP error of some sort. I’ll have a look.

    Plugin Author liddweaver

    (@liddweaver)

    I haven’t found any errors. However, there may be something specific to your setup or a setting that you are trying to save that is a factor. Can enable debugging and post any error messages below?

    Thread Starter Wayne

    (@waynep16)

    Sure – here is the error log

    [15-Dec-2016 14:57:39 UTC] PHP Fatal error:  Uncaught Error: Function name must be a string in /home//public_html/wp-content/plugins/responsive-investment-calculator/adm/class-ric-admin-settings.php:149
    Stack trace:
    #0 /home//public_html/wp-includes/class-wp-hook.php(300): RICAdminSettings->sanitize_options(Array)
    #1 /home//public_html/wp-includes/plugin.php(203): WP_Hook->apply_filters(Array, Array)
    #2 /home//public_html/wp-includes/formatting.php(4286): apply_filters('sanitize_option...', Array, 'ric_options', Array)
    #3 /home//public_html/wp-includes/option.php(270): sanitize_option('ric_options', Array)
    #4 /home//public_html/wp-admin/options.php(219): update_option('ric_options', Array)
    #5 {main}
      thrown in /home//public_html/wp-content/plugins/responsive-investment-calculator/adm/class-ric-admin-settings.php on line 149
    [15-Dec-2016 14:58:10 UTC] JUST TESTING
    
    Plugin Author liddweaver

    (@liddweaver)

    That’s perfect. Thank you.

    I’ve released an update. Please try the new version.

    Thread Starter Wayne

    (@waynep16)

    Still no joy mate ??

    New errors – even just saving without pchsnginf any values.

    I think I’m on php 7 if that helps ?

    15-Dec-2016 23:50:59 UTC] PHP Fatal error:  Uncaught Error: Function name must be a string in /home/z/public_html/wp-content/plugins/responsive-investment-calculator/adm/class-ric-admin-settings.php:152
    Stack trace:
    #0 /home/z/public_html/wp-includes/class-wp-hook.php(300): RICAdminSettings->sanitize_options(Array)
    #1 /home/z/public_html/wp-includes/plugin.php(203): WP_Hook->apply_filters(Array, Array)
    #2 /home/z/public_html/wp-includes/formatting.php(4286): apply_filters('sanitize_option...', Array, 'ric_options', Array)
    #3 /home/z/public_html/wp-includes/option.php(270): sanitize_option('ric_options', Array)
    #4 /home/z/public_html/wp-admin/options.php(219): update_option('ric_options', Array)
    #5 {main}
      thrown in /home/z/public_html/wp-content/plugins/responsive-investment-calculator/adm/class-ric-admin-settings.php
    
    On line 152 
    • This reply was modified 8 years, 2 months ago by Wayne.
    Thread Starter Wayne

    (@waynep16)

    Did you see this new error mate? ^^^

    Plugin Author liddweaver

    (@liddweaver)

    It looks like you are running a version of PHP prior to 5.4. I’ve modified the code to support earlier version and it should work for you now.

    Thread Starter Wayne

    (@waynep16)

    We are running PHP 7 ! Not an old version

    • This reply was modified 8 years, 2 months ago by Wayne.
    Thread Starter Wayne

    (@waynep16)

    We are running PHP 7 ! Not an old version

    Plugin Author liddweaver

    (@liddweaver)

    The only issue I could find was with a language construct not available in an earlier release of PHP. However, the latest changes are a little more robust. Let me know if it works for you.

    Thread Starter Wayne

    (@waynep16)

    Bingo ! Saves fine now: thank you

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘500 internal server error when saving settings’ is closed to new replies.