Title: php error logs when I save settings
Last modified: September 1, 2016

---

# php error logs when I save settings

 *  [amadhav1](https://wordpress.org/support/users/amadhav1/)
 * (@amadhav1)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/html-in-php-error-logs-when-i-save-settings/)
 * Hello,
 * When I save the events->settings,I get these error.
 * [Thu Sep 01 10:15:06 2016] [error] [client 10.160.45.208] PHP Warning: http_build_query():
   Parameter 1 expected to be Array or Object. Incorrect value given in /mysite/
   wp-includes/Requests/Transport/cURL.php on line 507, referer: mysite/wp-admin/
   edit.php?post_type=ai1ec_event&page=all-in-one-event-calendar-themes
    [Thu Sep
   01 10:15:07 2016] [error] [client 10.160.45.208] Created calendar: Created calendar.
   Please reload this page to try again. If this error persists, please contact 
   us at [labs@time.ly](https://wordpress.org/support/topic/html-in-php-error-logs-when-i-save-settings/labs@time.ly?output_format=md).
   In your report please include the information below.API URL: [https://api.time.ly/api/calendars.Detail](https://api.time.ly/api/calendars.Detail):
   401 – Unauthorized. – raw error: Array\n(\n [headers] => Requests_Utility_CaseInsensitiveDictionary
   Object\n (\n [data:protected] => Array\n (\n [access-control-allow-headers] =
   > x-requested-with, Content-Type, origin, authorization, accept, client-security-
   token\n [access-control-allow-methods] => POST, GET, OPTIONS, DELETE, PUT\n [
   access-control-allow-origin] => *\n [access-control-max-age] => 1000\n [cache-
   control] => no-cache\n [content-type] => text/html; charset=UTF-8\n [date] =>
   Thu, 01 Sep 2016 14:15:07 GMT\n [server] => Apache/2.4.18 (Ubuntu)\n [set-cookie]
   => laravel_session=eyJpdiI6ImlINUhaTjVWMmh3XC81OVdBSmYrRkhnPT0iLCJ2YWx1ZSI6ImpoVUkxbGpGZmlzYTJaNjFrRll2WkpaMWExVHlBeGRYVU5lNEZiWlFYRmQza1lxc1lDXC9jSTY1eW5cL2FpcjZ4ZER5NlpOWE13RnBVaWUxdUNMZnBZTVE9PSIsIm1hYyI6ImRiNmE2NDI5ZTM3MzljMmRjOTI2NmIyYWUwMDUxOGMxNzFkOWViOGJhZWY2OTg5M2EzNWJjZmZhNzcyNGJjMTIifQ%
   3D%3D; expires=Thu, 01-Sep-2016 16:15:07 GMT; Max-Age=7200; path=/; domain=.time.
   ly; HttpOnly\n [vary] => Authorization\n [content-length] => 13\n )\n\n )\n\n[
   body] => Unauthorized.\n [response] => Array\n (\n [code] => 401\n [message] 
   => Unauthorized\n )\n\n [cookies] => Array\n (\n [0] => WP_Http_Cookie Object\
   n (\n [name] => laravel_session\n [value] => eyJpdiI6ImlINUhaTjVWMmh3XC81OVdBSmYrRkhnPT0iLCJ2YWx1ZSI6ImpoVUkxbGpGZmlzYTJaNjFrRll2WkpaMWExVHlBeGRYVU5lNEZiWlFYRmQza1lxc1lDXC9jSTY1eW5cL2FpcjZ4ZER5NlpOWE13RnBVaWUxdUNMZnBZTVE9PSIsIm1hYyI6ImRiNmE2NDI5ZTM3MzljMmRjOTI2NmIyYWUwMDUxOGMxNzFkOWViOGJhZWY2OTg5M2EzNWJjZmZhNzcyNGJjMTIifQ
   ==\n [expires] => 1472746507\n [path] => /\n [domain] => time.ly\n )\n\n )\n\
   n [filename] => \n [http_response] => WP_HTTP_Requests_Response Object\n (\n [
   response:protected] => Requests_Response Object\n (\n [body] => Unauthorized.\
   n [raw] => HTTP/1.1 401 Unauthorized\r\nAccess-Control-Allow-Headers: x-requested-
   with, Content-Type, origin, authorization, accept, client-security-token\r\nAccess-
   Control-Allow-Methods: POST, GET, OPTIONS, DELETE, PUT\r\nAccess-Control-Allow-
   Origin: *\r\nAccess-Control-Max-Age: 1000\r\nCache-Control: no-cache\r\nContent-
   Type: text/html; charset=UTF-8\r\nDate: Thu, 01 Sep 2016 14:15:07 GMT\r\nServer:
   Apache/2.4.18 (Ubuntu)\r\nSet-Cookie: laravel_session=eyJpdiI6ImlINUhaTjVWMmh3XC81OVdBSmYrRkhnPT0iLCJ2YWx1ZSI6ImpoVUkxbGpGZmlzYTJaNjFrRll2WkpaMWExVHlBeGRYVU5lNEZiWlFYRmQza1lxc1lDXC9jSTY1eW5cL2FpcjZ4ZER5NlpOWE13RnBVaWUxdUNMZnBZTVE9PSIsIm1hYyI6ImRiNmE2NDI5ZTM3MzljMmRjOTI2NmIyYWUwMDUxOGMxNzFkOWViOGJhZWY2OTg5M2EzNWJjZmZhNzcyNGJjMTIifQ%
   3D%3D; expires=Thu, 01-Sep-2016 16:15:07 GMT; Max-Age=7200; path=/; domain=.time.
   ly; HttpOnly\r\nVary: Authorization\r\nContent-Length: 13\r\nConnection: Close\
   r\n\r\nUnauthorized.\n [headers] => Requests_Response_Headers Object\n (\n [data:
   protected] => Array\n (\n [access-control-allow-headers] => Array\n (\n [0] =
   > x-requested-with, Content-Type, origin, authorization, accept, client-security-
   token\n )\n\n [access-control-allow-methods] => Array\n (\n [0] => POST, GET,
   OPTIONS, DELETE, PUT\n )\n\n [access-control-allow-origin] => Array\n (\n [0]
   => *\n )\n\n [access-control-max-age] => Array\n (\n [0] => 1000\n )\n\n [cache-
   control] => Array\n (\n [0] => no-cache\n )\n\n [content-type] => Array\n (\n[
   0] => text/html; charset=UTF-8\n )\n\n [date] => Array\n (\n [0] => Thu, 01 Sep
   2016 14:15:07 GMT\n )\n\n [server] => Array\n (\n [0] => Apache/2.4.18 (Ubuntu)\
   n )\n\n [set-cookie] => Array\n (\n [0] => laravel_session=eyJpdiI6ImlINUhaTjVWMmh3XC81OVdBSmYrRkhnPT0iLCJ2YWx1ZSI6ImpoVUkxbGpGZmlzYTJaNjFrRll2WkpaMWExVHlBeGRYVU5lNEZiWlFYRmQza1lxc1lDXC9jSTY1eW5cL2FpcjZ4ZER5NlpOWE13RnBVaWUxdUNMZnBZTVE9PSIsIm1hYyI6ImRiNmE2NDI5ZTM3MzljMmRjOTI2NmIyYWUwMDUxOGMxNzFkOWViOGJhZWY2OTg5M2EzNWJjZmZhNzcyNGJjMTIifQ%
   3D%3D; expires=Thu, 01-Sep-2016 16:15:07 GMT; Max-Age=7200; path=/; domain=.time.
   ly; HttpOnly\n )\n\n [vary] => Array\n (\n [0] => Authorization\n )\n\n [content-
   length] => Array\n (\n [0] => 13\n )\n\n )\n\n )\n\n [status_code] => 401\n [
   protocol_version] => 1.1\n [success] => \n [redirects] => 0\n [url] => [https://api.time.ly/api/calendars](https://api.time.ly/api/calendars)\
   n [history] => Array\n (\n )\n\n [cookies] => Requests_Cookie_Jar Object\n (\
   n [cookies:protected] => Array\n (\n [laravel_session] => Requests_Cookie Object\
   n (\n [name] => laravel_session\n [value] => eyJpdiI6ImlINUhaTjVWMmh3XC81OVdBSmYrRkhnPT0iLCJ2YWx1ZSI6ImpoVUkxbGpGZmlzYTJaNjFrRll2WkpaMWExVHlBeGRYVU5lNEZiWlFYRmQza1lxc1lDXC9jSTY1eW5cL2FpcjZ4ZER5NlpOWE13RnBVaWUxdUNMZnBZTVE9PSIsIm1hYyI6ImRiNmE2NDI5ZTM3MzljMmRjOTI2NmIyYWUwMDUxOGMxNzFkOWViOGJhZWY2OTg5M2EzNWJjZmZhNzcyNGJjMTIifQ%
   3D%3D\n [attributes] => Requests_Utility_CaseInsensitiveDictionary Object\n (\
   n [data:protected] => Array\n (\n [expires] => 1472746507\n [max-age] => 1472746507\
   n
 * Any idea what I should be doing
 * [https://wordpress.org/plugins/all-in-one-event-calendar/](https://wordpress.org/plugins/all-in-one-event-calendar/)

Viewing 1 replies (of 1 total)

 *  [Benjamin](https://wordpress.org/support/users/bsokic/)
 * (@bsokic)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/html-in-php-error-logs-when-i-save-settings/#post-7721884)
 * Hi,
 * Here you can find more information about this issue:: [http://ideas.time.ly/ideas/CAL-I-432](http://ideas.time.ly/ideas/CAL-I-432)

Viewing 1 replies (of 1 total)

The topic ‘php error logs when I save settings’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/all-in-one-event-calendar.svg)
 * [Timely All-in-One Events Calendar](https://wordpress.org/plugins/all-in-one-event-calendar/)
 * [Support Threads](https://wordpress.org/support/plugin/all-in-one-event-calendar/)
 * [Active Topics](https://wordpress.org/support/plugin/all-in-one-event-calendar/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/all-in-one-event-calendar/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/all-in-one-event-calendar/reviews/)

## Tags

 * [calendar](https://wordpress.org/support/topic-tag/calendar/)
 * [errors](https://wordpress.org/support/topic-tag/errors/)
 * [settings](https://wordpress.org/support/topic-tag/settings/)

 * 1 reply
 * 2 participants
 * Last reply from: [Benjamin](https://wordpress.org/support/users/bsokic/)
 * Last activity: [9 years, 9 months ago](https://wordpress.org/support/topic/html-in-php-error-logs-when-i-save-settings/#post-7721884)
 * Status: not resolved