-
Notifications
You must be signed in to change notification settings - Fork 10
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
Unable to configure Website ID - "There has been a critical error on this website..." #4
Comments
I am seeing exactly the same problem. |
Update to 2.1.4 and see if you have the same issue? |
I am having the same issue,
|
Brand new user here. I'm seeing this too. WordPress 6.1.1 (PHP 7.4.25) I installed OWA. However... My OWA dashboard was showing no traffic at all. Everything was stuck at zero. So I'm like "huh". Then, thinking I could just restart the plugin or whatever, I toggled the "Enable OWA" radio button in the plugin to "Off". NOW I see the error message "There has been a critical error on this website. Please check your site admin email inbox for instructions." and the radio button won't let me toggle it back on. I mean, I can click it. But there's no submit button to save it. |
When first attempting to configure the WP plugin, I am not able to select the Website ID from the dropdown. I've provide all the other configuration information (API Key, Secret Auth, Endpoint URL). Hoping that I can then select the Website ID, I press Save and then the following error message is displayed in place of the dropdown:
"There has been a critical error on this website. Please check your site admin email inbox for instructions."
Once this happens, I am no longer able to save any changes due to lack of Save button. Deactivating and reinstalling the plug-in doesn't help.
OWA Plug-in Version: 2.1.1
OWA Server Version: 1.7.6
WordPress Version: 5.9.1
Both WordPress and OWA servers are running on Ubuntu (18.04 and 20.04 respectively).
If you'd like the values saved in WP for the owa_wp, please DM me and I will share.
The following email is sent to me by the site:
Error Details
An error of type E_ERROR was caused in line 270 of the file /var/www/html/wp-content/plugins/open-web-analytics/vendor/open-web-analytics/owa-php-sdk/src/OwaClient.php. Error message: Uncaught TypeError: array_key_exists(): Argument #2 ($array) must be of type array, null given in /var/www/html/wp-content/plugins/open-web-analytics/vendor/open-web-analytics/owa-php-sdk/src/OwaClient.php:270
Stack trace:
#0 /var/www/html/wp-content/plugins/open-web-analytics/vendor/open-web-analytics/owa-php-sdk/src/OwaClient.php(270): array_key_exists()
#1 /var/www/html/wp-content/plugins/open-web-analytics/vendor/open-web-analytics/owa-php-sdk/src/Sites/SitesClient.php(39): OwaSdk\OwaClient->makeRequest()
#2 /var/www/html/wp-content/plugins/open-web-analytics/owa-plugin.php(1192): OwaSdk\Sites\SitesClient->listSites()
#3 /var/www/html/wp-includes/class-wp-hook.php(307): owaWp_plugin->getSitesFromOwa()
#4 /var/www/html/wp-includes/plugin.php(189): WP_Hook->apply_filters()
#5 /var/www/html/wp-content/plugins/open-web-analytics/src/settings/fields/select.php(19): apply_filters()
#6 /var/www/html/wp-admin/includes/template.php(1743): owaWp\settings\fields\select->render()
#7 /var/www/html/wp-content/plugins/open-web-analytics/src/settings/page.php(428): do_settings_fields()
#8 /var/www/html/wp-content/plugins/open-web-analytics/src/settings/page.php(289): owaWp\settings\page->doTabbedSettingsSections()
#9 /var/www/html/wp-includes/class-wp-hook.php(307): owaWp\settings\page->renderPage()
#10 /var/www/html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
#11 /var/www/html/wp-includes/plugin.php(474): WP_Hook->do_action()
#12 /var/www/html/wp-admin/admin.php(259): do_action()
#13 {main}
thrown
The text was updated successfully, but these errors were encountered: