Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Framework settings restore & admin notice not working. #1

Open
wpbean opened this issue Oct 7, 2018 · 1 comment
Open

Framework settings restore & admin notice not working. #1

wpbean opened this issue Oct 7, 2018 · 1 comment
Assignees

Comments

@wpbean
Copy link

wpbean commented Oct 7, 2018

When I try to restore the framework settings, an error comes out.

I tried and managed to fix the error but the admin notice on saving and restoring the options is not showing.

Can you please fix this issue.

Fatal error: Uncaught Error: Call to undefined method WPSFramework_Settings::add_settings_error() in /app/public/wp-content/plugins/wpb-testimonial/admin/classes/settings.php:353 Stack trace: #0 /app/public/wp-includes/class-wp-hook.php(288): WPSFramework_Settings->validate_save(Array) #1 /app/public/wp-includes/plugin.php(203): WP_Hook->apply_filters(Array, Array) #2 /app/public/wp-includes/formatting.php(4314): apply_filters('sanitize_option...', Array, '_wpsf_new_optio...', Array) #3 /app/public/wp-includes/option.php(297): sanitize_option('_wpsf_new_optio...', Array) #4 /app/public/wp-admin/options.php(274): update_option('_wpsf_new_optio...', Array) #5 {main} thrown in /app/public/wp-content/plugins/wpb-testimonial/admin/classes/settings.php on line 353

Thanks

@varunsridharan
Copy link
Contributor

Hi @wpbean

We are no longer working in this (WPSF Framework) And we shifted to (WPOnion) https://github.com/wponion/dev
which is also a wordpress options framework.

for docs you can look @ http://wponion.gitbook.io/docs/

Its still in Beta.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants