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

API authorisation issue #4

Open
tpapz-be opened this issue May 13, 2020 · 1 comment
Open

API authorisation issue #4

tpapz-be opened this issue May 13, 2020 · 1 comment

Comments

@tpapz-be
Copy link

Hello,

I am faced with the below error when I try to authorise the plugin.
I tried OAuth1a and OAuth2.
API settings have been set on my Mautic and HTTP auth is authorized.
I've downloaded the plugin here and installed it through WP plugin uploader/installer.

The issue seems related to ApiAuth but not sure how to fix it.

Any idea ? Many thanks in advance -


WordPress version 5.4.1
Current theme: Terra Fermenta (version 1.0.0)
Current plugin: Ninja Forms - Mautic (version 3.1.2)
PHP version 7.3.17

Error Details

An error of type E_ERROR was caused in line 136 of the file /data/sites/web/terrafermentacom/www/wp-content/plugins/ninja-forms-mautic-master/includes/Admin/Settings.php. Error message: Uncaught Error: Class 'Mautic\Auth\ApiAuth' not found in /data/sites/web/terrafermentacom/www/wp-content/plugins/ninja-forms-mautic-master/includes/Admin/Settings.php:136
Stack trace:
#0 /data/sites/web/terrafermentacom/www/wp-includes/class-wp-hook.php(287): NF_Mautic_Admin_Settings->authorize_setting('1')
#1 /data/sites/web/terrafermentacom/www/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters('', Array)
#2 /data/sites/web/terrafermentacom/www/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
#3 /data/sites/web/terrafermentacom/www/wp-content/plugins/ninja-forms/includes/Admin/Menus/Settings.php(254): do_action('ninja_forms_sav...', '1')
#4 /data/sites/web/terrafermentacom/www/wp-includes/class-wp-hook.php(287): NF_Admin_Menus_Settings->update_settings('')
#5 /data/sites/web/terrafermentacom/www/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array)
#6 /data/sites/web/terrafermentacom/www/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
#7 /data/sites/web/terrafermentaco

@pfaraluce
Copy link

Same error here. Any guesses on how to fix this? Thanks

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

No branches or pull requests

2 participants