I'm following this example https://developers.google.com/analytics/devguides/reporting/core/v3/quickstart/web-php
And when I excecute I get this error
Fatal error: Uncaught exception 'Google_Service_Exception' with
message 'Error calling GET
https://www.googleapis.com/analytics/v3/data/ga?ids=ga%3AXXXX&start-date=2015-10-26&end-date=2015-10-26&metrics=ga%3Apageviews&dimensions=ga%3Ahostname%2Cga%3ApagePath&sort=-ga%3Apageviews&filters=ga%3Aday%3D%3D26:
(500) There was an internal error.' in
/expert/htwebs/bbdd.introl.es/docs/recogida/v2/administracion/google2/google-api-php-client/src/Google/Http/REST.php:110
Stack trace: #0
/expert/htwebs/bbdd.introl.es/docs/recogida/v2/administracion/google2/google-api-php-client/src/Google/Http/REST.php(62):
Google_Http_REST::decodeHttpResponse(Object(Google_Http_Request),
Object(Google_Client)) #1 [internal function]:
Google_Http_REST::doExecute(Object(Google_Client),
Object(Google_Http_Request)) #2
/expert/htwebs/bbdd.introl.es/docs/recogida/v2/administracion/google2/google-api-php-client/src/Google/Task/Runner.php(174):
call_user_func_array(Array, Array) #3
/expert/htwebs/bbdd.introl.es/docs/recogida/v2/administracion/google2/
in
/expert/htwebs/bbdd.introl.es/docs/recogida/v2/administracion/google2/google-api-php-client/src/Google/Http/REST.php
on line 110
How can I resolve this error?
Related
after i vitited my nginx website i will get the following error:
Fatal error: Uncaught UnexpectedValueException: There is no existing directory at "/var/www/html/bootstrap/../storage/logs" and it could not be created: Permission denied in /var/www/html/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:216 Stack trace: #0 /var/www/html/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php(135): Monolog\Handler\StreamHandler->createDir('/var/www/html/b...') #1 /var/www/html/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(48): Monolog\Handler\StreamHandler->write(Array) #2 /var/www/html/vendor/monolog/monolog/src/Monolog/Logger.php(327): Monolog\Handler\AbstractProcessingHandler->handle(Array) #3 /var/www/html/vendor/monolog/monolog/src/Monolog/Logger.php(500): Monolog\Logger->addRecord(500, 'Uncaught Except...', Array) #4 /var/www/html/vendor/monolog/monolog/src/Monolog/ErrorHandler.php(194): Monolog\Logger->log(500, 'Uncaught Except...', Array) #5 /var/www/html/vendor/monolog/monolog/src/Monolog/ErrorHandler.php(94): Monolog\ErrorHandler->handl in /var/www/html/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php on line 216
Fatal error: Uncaught UnexpectedValueException: There is no existing directory at "/var/www/html/bootstrap/../storage/logs" and it could not be created: Permission denied in /var/www/html/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:216 Stack trace: #0 /var/www/html/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php(135): Monolog\Handler\StreamHandler->createDir('/var/www/html/b...') #1 /var/www/html/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(48): Monolog\Handler\StreamHandler->write(Array) #2 /var/www/html/vendor/monolog/monolog/src/Monolog/Logger.php(327): Monolog\Handler\AbstractProcessingHandler->handle(Array) #3 /var/www/html/vendor/monolog/monolog/src/Monolog/Logger.php(500): Monolog\Logger->addRecord(550, 'Fatal Error (E_...', Array) #4 /var/www/html/vendor/monolog/monolog/src/Monolog/ErrorHandler.php(250): Monolog\Logger->log(550, 'Fatal Error (E_...', Array) #5 [internal function]: Monolog\ErrorHandler->handleFatalError() #6 {main} thrown in /var/www/html/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php on line 216
Does anyone know how do i fix this?
thank you and best regards
I'm having this error in my wordpress website.
Fatal error: Uncaught Error: Class 'Elementor\Controls_Manager' not found in /home/vol15_6/epizy.com/epiz_26758330/htdocs/wp-content/plugins/elementor/includes/autoloader.php:132 Stack trace: #0 /home/vol15_6/epizy.com/epiz_26758330/htdocs/wp-content/plugins/elementor/includes/autoloader.php(78): Elementor\Autoloader::init_classes_map() #1 /home/vol15_6/epizy.com/epiz_26758330/htdocs/wp-content/plugins/elementor/includes/autoloader.php(252): Elementor\Autoloader::get_classes_map() #2 /home/vol15_6/epizy.com/epiz_26758330/htdocs/wp-content/plugins/elementor/includes/autoloader.php(305): Elementor\Autoloader::load_class('Core\\Logger\\Man...') #3 [internal function]: Elementor\Autoloader::autoload('Elementor\\Core\\...') #4 /home/vol15_6/epizy.com/epiz_26758330/htdocs/wp-content/plugins/elementor/includes/plugin.php(708): spl_autoload_call('Elementor\\Core\\...') #5 /home/vol15_6/epizy.com/epiz_26758330/htdocs/wp-content/plugins/elementor/includes/plugin.php(487): Elementor\Plugin->__construct() #6 /home/vol15_6/epizy.com/e in /home/vol15_6/epizy.com/epiz_26758330/htdocs/wp-content/plugins/elementor/includes/autoloader.php on line 132
The solution was to downgrade elementor to an older version of 3.0.11.
I could not add my TAT contact-form plugin on my wordpress. The error that occurred:
Fatal error: Uncaught Error: Call to undefined function mysql_get_server_info() in C:\xampp\htdocs\danish\wp-content\plugins\tat-contact-form\install.php:13
Stack trace:
#0 C:\xampp\htdocs\danish\wp-includes\class-wp-hook.php(298): tatcontact_install('')
#1 C:\xampp\htdocs\danish\wp-includes\class-wp-hook.php(323): WP_Hook->apply_filters('', Array)
#2 C:\xampp\htdocs\danish\wp-includes\plugin.php(453): WP_Hook->do_action(Array)
#3 C:\xampp\htdocs\danish\wp-admin\plugins.php(166): do_action('activate_tat-co...')
#4 {main} thrown in C:\xampp\htdocs\danish\wp-content\plugins\tat-contact-form\install.php on line 13`
I'm using Google cloud api.
Following errors make my page blank. Debug log file shows the following errors on loading each blank page.
Fatal error: Uncaught exception 'Google_Service_Exception' with message '{
"error": {
"errors": [
{
"domain": "global",
"reason": "backendError",
"message": "Backend Error"
}
],
"code": 500,
"message": "Backend Error"
}
}
' in /var/www/html/wp-content/plugins/test/google_api/src/Google/Http/REST.php:123
Stack trace:
#0 /var/www/html/wp-content/plugins/test/google_api/src/Google/Http/REST.php(82): Google_Http_REST::decodeHttpResponse(Object(GuzzleHttp\Psr7\Response), Object(Guzz
leHttp\Psr7\Request), 'Google_Service_...')
#1 [internal function]: Google_Http_REST::doExecute(Object(GuzzleHttp\Client), Object(GuzzleHttp\Psr7\Request), 'Google_Service_...')
#2 /var/www/html/wp-content/plugins/test/google_api/src/Google/Task/Runner.php(181): call_user_func_array(Array, Array)
#3 /var/www/html/wp-content/plugins/test/google_api/src/Google/Http/REST.php(57): Google_Task_Runner->run()
#4 /var/www/html/wp-content/plugins/test/google_api/src/Google/Client.p in /var/www/html/wp-content/plugins/test/google_api/src/Google/Http/REST.php on li
ne 123
Fatal error: Uncaught exception 'Google_Service_Exception' with message 'Not Found' in /var/www/html/wp-content/plugins/test/google_api/src/Google/Http/REST.php:123
Stack trace:
#0 /var/www/html/wp-content/plugins/test/google_api/src/Google/Http/REST.php(82): Google_Http_REST::decodeHttpResponse(Object(GuzzleHttp\Psr7\Response), Object(Guzz
leHttp\Psr7\Request), 'Google_Service_...')
#1 [internal function]: Google_Http_REST::doExecute(Object(GuzzleHttp\Client), Object(GuzzleHttp\Psr7\Request), 'Google_Service_...')
#2 /var/www/html/wp-content/plugins/test/google_api/src/Google/Task/Runner.php(181): call_user_func_array(Array, Array)
#3 /var/www/html/wp-content/plugins/test/google_api/src/Google/Http/REST.php(57): Google_Task_Runner->run()
#4 /var/www/html/wp-content/plugins/test/google_api/src/Google/Client.php(758): Google_Http_REST::execute(Object(GuzzleHttp\Client), Object(GuzzleHttp\Psr7\Request)
, 'Google_Service_...', Array)
#5 /var/www/html/wp-content/plugins/test in /var/www/html/wp-content/plugins/test/google_api/src/Google/Http/REST.php on line 123
I think both errors are related.
Thanks in advance.
I assume you are using the Google APIs Client Library for PHP. If so you can directly report this issue to the engineers working on this library.
I do see similar reports to this where the solution was a user-end code fix. 'Google_Service_Exception' indicates that the request you made was either not authenticated, had an invalid/malformed post body, and/or was made to an invalid URL.
Therefore I recommend you attempt to debug your code further in order to see what line of your code is throwing this error. Make sure you are using the library properly, and that your API request is correct. Also make sure you are using the latest version of the library.
I am getting following error while accessing methods from strimics system in "soapclient"
Fatal error:
Uncaught SoapFault exception: [HTTP] Unauthorized in C:\wamp\www\studiofathom\test.php:25
Stack trace:
#0 [internal function]: SoapClient->__doRequest('<?xml version="...', 'https://fathomc...', 'tempuri....', 1, 0)
#1 C:\wamp\www\studiofathom\test.php(25): SoapClient->__soapCall('CreateCustomer', Array)
#2 {main} thrown in C:\wamp\www\studiofathom\test.php on line 25
Have you tried any other actions on this soap-server? Does it require authentication? As far as I know, you're simply not authenticated to use it (or this method)...