WordPress.org

Plugin Directory

jetpack

Opened 4 years ago

Closed 4 years ago

#1830 closed defect (duplicate)

Stats - error: array_intersect() [function.array-intersect] in stats.php, line 117

Reported by: csonnek Owned by: tmoorewp
Priority: normal Severity: normal
Plugin: jetpack Keywords: stats roles
Cc: jeremy+wp@…, richard@…

Description (last modified by Otto42)

Site: http://sawagothly.de/

User report:


I got this at the top of my wordpress blog:

Warning: array_intersect() [function.array-intersect]: Argument #2 is not an
array in /www/htdocs/w00da800/wp-content/plugins/jetpack/modules/stats.php on
line 117

I tried to deactivate all the other plug-ins one by one, but it doesn't work.

I've updated the jetpack plug-in today to the newest release, no failure before
the update.


Here's the attached debugging information from the correspondence (ticket 1604536)

DEBUG INFO:
jQuery version: 1.8.3

CLIENT_ID: 21391716
MASTER_USER: 2
CERT: 0
TIME_DIFF: -1
VERSION: 2.3.1:1374680169
OLD_VERSION: 2.2.2:1366360586
PUBLIC: 1
USER_ID: 2
PHP_VERSION: 5.2.12-nmm4
WORDPRESS_VERSION: 3.5.2
JETPACK__VERSION: 2.3.1
SITE_URL: http://sawagothly.de
HOME_URL: http://sawagothly.de

TEST RESULTS:

HTTP: PASS
HTTPS: PASS
SELF: PASS

RAW TEST RESULTS:

HTTP
Array
(
[headers] => Array
(
[server] => nginx
[date] => Wed, 24 Jul 2013 20:06:58 GMT
[content-type] => text/plain;charset=utf-8
[connection] => close
[vary] => Cookie
[x-pingback] => http://jetpack.wordpress.com/xmlrpc.php
[expires] => Wed, 11 Jan 1984 05:00:00 GMT
[cache-control] => no-cache, must-revalidate, max-age=60
[pragma] => no-cache
[x-hacker] => Jetpack Test
)

[body] => OK
[response] => Array
(
[code] => 200
[message] => OK
)

[cookies] => Array
(
)

[filename] => 
)


HTTPS
Array
(
[headers] => Array
(
[server] => nginx
[date] => Wed, 24 Jul 2013 20:06:59 GMT
[content-type] => text/plain;charset=utf-8
[connection] => close
[vary] => Cookie
[x-pingback] => http://jetpack.wordpress.com/xmlrpc.php
[expires] => Wed, 11 Jan 1984 05:00:00 GMT
[cache-control] => no-cache, must-revalidate, max-age=60
[pragma] => no-cache
[x-hacker] => Jetpack Test
)

[body] => OK
[response] => Array
(
[code] => 200
[message] => OK
)

[cookies] => Array
(
)

[filename] => 
)


SELF
Array
(
[headers] => Array
(
[date] => Wed, 24 Jul 2013 20:06:59 GMT
[server] => Apache
[x-powered-by] => PHP/5.2.12-nmm4
[set-cookie] => Array
(
[0] =>
wordpress_5112be65aed16583196944f5097b2b0d=%7C1375906020%7Ccaa5c20f52391f58cf2f0a6ba2514575;
expires=Wed, 07-Aug-2013 20:07:00 GMT; path=/wp-content/plugins; httponly
[1] =>
wordpress_5112be65aed16583196944f5097b2b0d=%7C1375906020%7Ccaa5c20f52391f58cf2f0a6ba2514575;
expires=Wed, 07-Aug-2013 20:07:00 GMT; path=/wp-admin; httponly
[2] =>
wordpress_logged_in_5112be65aed16583196944f5097b2b0d=%7C1375906020%7C6253884d73a4023d76a4aa7fd334b917;
expires=Wed, 07-Aug-2013 20:07:00 GMT; path=/; httponly
)

[vary] => Accept-Encoding
[content-length] => 42
[connection] => close
[content-type] => text/plain
)

[body] => XML-RPC server accepts POST requests only.
[response] => Array
(
[code] => 200
[message] => OK
)

[cookies] => Array
(
[0] => WP_Http_Cookie Object
(
[name] => wordpress_5112be65aed16583196944f5097b2b0d
[value] => |1375906020|caa5c20f52391f58cf2f0a6ba2514575
[expires] => 1375906020
[path] => /wp-content/plugins
[domain] => 
[httponly] => 
)

[1] => WP_Http_Cookie Object
(
[name] => wordpress_5112be65aed16583196944f5097b2b0d
[value] => |1375906020|caa5c20f52391f58cf2f0a6ba2514575
[expires] => 1375906020
[path] => /wp-admin
[domain] => 
[httponly] => 
)

[2] => WP_Http_Cookie Object
(
[name] =>
wordpress_logged_in_5112be65aed16583196944f5097b2b0d
[value] => |1375906020|6253884d73a4023d76a4aa7fd334b917
[expires] => 1375906020
[path] => /
[domain] => 
[httponly] => 
)

)

[filename] => 
)

Not sure what is causing this error.

Change History (4)

comment:1 @jeherve4 years ago

  • Cc jeremy+wp@… added
  • Keywords stats roles added
  • Summary changed from Jetpack - error: array_intersect() [function.array-intersect] in stats.php to Stats - error: array_intersect() [function.array-intersect] in stats.php, line 117

comment:2 @Otto424 years ago

  • Description modified (diff)

comment:3 @richardmtl4 years ago

  • Cc richard@… added

comment:4 @jeherve4 years ago

  • Resolution set to duplicate
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.