{"id":2770224,"date":"2012-05-25T15:11:26","date_gmt":"2012-05-25T15:11:26","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/php-warning-4\/"},"modified":"2016-08-20T12:31:18","modified_gmt":"2016-08-20T12:31:18","slug":"php-warning-4","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/php-warning-4\/","title":{"rendered":"PHP Warning"},"content":{"rendered":"<p>Hello everyone, I have a problem!<br \/>\nThis is my first post here, hope it is well written.<\/p>\n<p>My problem<br \/>\nI opened my error_log today, that is inside the public_html folder and this is what i saw:<\/p>\n<pre><code>[25-May-2012 13:50:12] PHP Warning:  call_user_func_array() [&lt;a href=&#039;function.call-user-func-array&#039;&gt;function.call-user-func-array&lt;\/a&gt;]: First argument is expected to be a valid callback, &#039;wp_admin_bar_wp_menu&#039; was given in \/***\/wp-includes\/plugin.php on line 486\n[25-May-2012 13:50:12] PHP Warning:  call_user_func_array() [&lt;a href=&#039;function.call-user-func-array&#039;&gt;function.call-user-func-array&lt;\/a&gt;]: First argument is expected to be a valid callback, &#039;wp_admin_bar_comments_menu&#039; was given in \/***\/wp-includes\/plugin.php on line 486<\/code><\/pre>\n<p>***: edited out<\/p>\n<p>Line 486 of plugin.php is:<\/p>\n<pre><code>do {\n\t\tforeach( (array) current($wp_filter[$tag]) as $the_ )\n\t\t\tif ( !is_null($the_[&#039;function&#039;]) )\n\t\t\t\tcall_user_func_array($the_[&#039;function&#039;], array_slice($args, 0, (int) $the_[&#039;accepted_args&#039;]));\n\n\t} while ( next($wp_filter[$tag]) !== false );\n\n\tarray_pop($wp_current_filter);\n}<\/code><\/pre>\n<p>My plugins folder:<\/p>\n<ul>\n<li>aksimet<\/li>\n<li>contact-form-7<\/li>\n<li>contact-form-7-widget<\/li>\n<li>lightbox-plus<\/li>\n<li>resize-at-upload<\/li>\n<li>simple-admin-menu-editor<\/li>\n<li>wp-table-reloaded<\/li>\n<p>\\\n<\/ul>\n<p>My theme is skeleton: http:\/\/demos.simplethemes.com\/skeleton\/<\/p>\n<p>Is this error slowing my wordpress down?<br \/>\nHope someone has a clue or advice, will be very appreciated, thanks.<\/p>\n","protected":false},"template":"","class_list":["post-2770224","topic","type-topic","status-closed","hentry","topic-tag-call_user_func_array","topic-tag-error_log","topic-tag-php-warning"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/2770224","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/2770224\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=2770224"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}