The tag has no usage guidance.

learn more… | top users | synonyms

10
votes
1answer
3k views

PHP Warning on fresh install (Connection timed out)

I get this PHP Warning when accessing my fresh WordPress 3.4.1 install (Norwegian language). Warning: fopen(URL_TO_MY_WORDPRESS_PAGE/wp-cron.php?doing_wp_cron=1341476616.7605190277099609375000): ...
3
votes
1answer
5k views

Warning: urlencode() expects parameter 1 to be string, array given

I have posted a question on StackOverflow (sorry for the cross link) and while I'm striving to find a solution to this, I stumbled across this warning : Warning: urlencode() expects parameter 1 to ...
2
votes
3answers
991 views

Getting Warnings & Notices from Fresh WordPress 3.1.2 install

I just installed WordPress 3.1.2, I got `Notice: automatic_feed_links is deprecated since version 3.0! Use add_theme_support( 'automatic-feed-links' ) instead. in ...
1
vote
4answers
3k views

What is causing this error? “Warning: Invalid argument”

I need urgent help figuring this out please - I've been working on a WordPress theme locally without problems, and now that I've uploaded it to the live server I'm getting this error: Warning: ...
1
vote
1answer
308 views

Stackoverflow type of badge plugin giving warnings in Wordpress 3.5

I modified an abandoned Stackoverflow form of badge plugin to work with Wordpress 3.4.2 and it does indeed. The full script for it is here: http://pastebin.com/Ta91zXiL When upgrading to Wordpress ...
1
vote
3answers
1k views

Undefined property: WP_Query::$post

I am working on some rather elaborate comparisons between metadata and having a bit of trouble correctly referring to results from my query. The first query to establish $team_is_home works fine but ...
1
vote
1answer
258 views

Why wordpress showe “admin is editing…” whoever edits?

Wordpress warns users when two of them are editing the same article, but the warning always says "admin is editing this page". Admin is currently logged off and the message is caused by another ...
1
vote
2answers
1k views

Warnings On Updating WordPress

On every site where I updated Wordpress to version 3.5, two error messages flashed onto the screen, only to be immediately replaced by the Wordpress About page. The messages don't stay on the screen ...
1
vote
2answers
303 views

Getting notices on fresh 3.6.1 install

I'm a relative newcomer to WP. I've been playing around for the past 3 months or so trying out themes, plugins etc. About a month ago I got to the point where I turned debug on and I started seeing ...
1
vote
0answers
99 views

Getting php_network_getaddress error : No such host is known?

I am working on wordpress theme on my localhost. I started receiving this error. Its is very annoying and i have no idea to resolve this thing.
0
votes
1answer
117 views

Prepared statements used incorrectly in ACF?

I've just updated to WP 3.9 and it returns a warning when using placeholders incorrectly. I've found some prepared statements written incorrectly, but I really got worried when I saw this in the ...
0
votes
1answer
1k views

insert a warning message into post-new.php

wondered if anyone knew the most elegant way to insert some sort of warning message each time someone tries to create a new post, i.e. 'please remember what you publish is your own responsibility', ...
0
votes
2answers
1k views

Help With Warning on creating new Post types?

Im Getting a couple of warnings when creating custom post types, someone referred me to using a plug in but since i'm new to this i want to know what is going on so i want to do it manually. This are ...
0
votes
1answer
66 views

Need help decrypting error and warning messages

I'm a relatively new Wordpress user, usually I just code my sites by hand though I'm trying to move to a CMS. I installed Wordpress onto a subforlder (http://www.iss.guild.uwa.edu.au/wordpress/) to ...
0
votes
1answer
277 views

Warning: spl_autoload() [function.spl-autoload] (Term Menu Order)

I'm developing a site and found this error on top of every page of the site: Warning: spl_autoload() [function.spl-autoload]: Unable to access k35r0vc.class.php in ...
0
votes
1answer
139 views

Error while setting role

I already got code which can change role basis on post count. <?php add_action( 'save_post', 'update_roles' ); function update_roles( $post_id ) { if ( defined( 'DOING_AUTOSAVE' ) ...
0
votes
3answers
2k views

WP_DEBUG is not set, but I'm still getting warnings

If WP_DEBUG is not set, as I understand it, you should never ever see warnings. But on some sites on some servers, I'm still seeing a few. Not all the warnings that would be displayed if WP_DEBUG was ...
0
votes
1answer
831 views

How to fix this PHP warning in WP-Admin after upgrading to 3.1.2?

I just upgraded from 3.0 to 3.1.2 and in the comments column under Posts in the WP Admin, this error keeps appearing for every row: Warning: number_format() expects parameter 1 to be double, ...
0
votes
1answer
18 views

Wp Debug Enabled True Notices and Warning

Notice: Undefined index: Zumpito_event_full_day in /home2/michael/public_html/domainname.com/wp-content/themes/themename/included/main.php on line 246 Warning: Cannot modify header information - ...
0
votes
1answer
2k views

Cannot modify header information - server cache

I have a wordpress website hosted on Lightspeed server. There's an error message displaying in admin login page and I can't access wordpress backend. This is the error Warning: Cannot modify ...
0
votes
1answer
418 views

Weird string offset errors when displaying post attachments

I'm trying to create a gallery page that takes image attachments from a certain category and displays them. It works but I have a problem it seems where I'm trying to exclude certain attachment types ...
0
votes
1answer
37 views

Wordpress comments - delimiter “/” not found

Im using wordpress comments as a "chat". Not real time chat its more like comments with more flow. But when 4-5 or more members using coments at the same time i get this message: Not sure why this ...
0
votes
1answer
470 views

wp_logout_url($redirect) won't logout and redirect ()

Even that I got the code from the wp docs <a href="<?php echo wp_logout_url( get_permalink() ); ?>" title="Logout">Logout</a> This is the output when user clicks on it: Warning: ...
0
votes
1answer
3k views

Warning: call_user_func_array() [function.call-user-func-array]

For some reasons I'm having this error appears in my dashboard Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'admin_init' was ...
0
votes
1answer
587 views

How to fix these PHP Warnings with the “Feed JSON” plug-in?

I'm getting the following PHP warnings when using the WordPress plug-in "Feed JSON". Can someone tell me how to fix them? Warning: Invalid argument supplied for foreach() in ...
0
votes
1answer
20 views

My wordpress site wont load, it gives header error warnings

I get the following errors when I try to go to my clients site. http://www.jmarkpricereading.com/ Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent ...
0
votes
1answer
21 views

index.php require once errors

This is what the site tells me: Warning: require_once(/public/sites/www.bloemertmachinery.com/admin.php): failed to open stream: No such file or directory in ...
0
votes
1answer
56 views

PHP Warning: Missing argument 2

From ajax Im updating a custom user field and visualising proper content using a shortcode. localising jquery function localise_jquery1410() { wp_enqueue_script('jquery'); wp_enqueue_script( ...
0
votes
1answer
30 views

A more elegant way to handle notices/warnings

I have a wordpress site with a number of different plugins (about 75) all created by me, old and new included. With the evolution of WP and PHP/MySQL, some of the functions in the plugins have ...
0
votes
1answer
14 views

How do I issue a warning in a wordpress plugin?

I'm trying to debugging a plug in that's misbehaving. I don't have a good setup for debugging and developing wordpress, so I just want to output the values of some variables to the rendered page. Is ...
0
votes
0answers
106 views

Errors after moving Wordpress installation

Since I reinstalled a website on a different hosting and moved the database and everything, I keep getting a lot of error messages when trying to open the website (www.pandasnacozinha.com.br). Some of ...
0
votes
1answer
420 views

Warning: array_pop() expects parameter 1 to be array, boolean given

Getting the following php error when trying to add a new post: Warning: array_pop() expects parameter 1 to be array, boolean given in ...
0
votes
3answers
401 views

Custom meta box in custom post type not working

As a wordpress newbie I am having problems in adding custom meta box in my "slider" custom post type which I used in some old wp theme. I'm getting a warning: Warning: call_user_func() expects ...
0
votes
1answer
379 views

Get rid of this Strict Standards warning [closed]

I'm trying to get rid of this warning from my wordpress installation. Strict Standards: Only variables should be passed by reference in xxxxx on line 67 The line with the "faulty code" is this one ...
0
votes
0answers
75 views

Cannot modify header information when I try my site with www

When I try to reach my website and include www in it's address I get this error: Warning: Cannot modify header information - headers already sent by (output started at ...
0
votes
0answers
528 views

Warning: preg_replace(): Compilation failed: unknown option bit(s) set at offset -1

I recently upgraded my dedicated server to Apache 2.4.6, MySQL 5.5.32, and PHP 5.4.21. Now on my website I get this error: Warning: preg_replace(): Compilation failed: unknown option bit(s) set at ...
0
votes
0answers
368 views

First argument is expected to be a valid callback for cp_admin_init and _canonical_charset

I'm using WordPress 3.5 with child-theme of Twenty Eleven 1.5. Suddenly I'm getting following Warning, Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to ...
0
votes
0answers
789 views

How to fix Warning: call_user_func_array()?

I modified my theme metabox.php to fit my needs, and I got this eror Blockquote Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'mytheme_add_box' not found or ...
0
votes
1answer
197 views

warnings & errors after MAMP to live (hosteurope)

I get these warnings after getting live with my wordpress site from local to server. Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'bones_register_sidebars' not ...
0
votes
2answers
192 views

Warning when author has no post

i have a page who display the latest posts of an author. But when the author has no post i get a display message Warning: rsort() expects parameter 1 to be array, null given in ... Here the ...
0
votes
1answer
2k views

Warning: Cannot modify header information - headers already sent

I've just received this error/warning after trying to upload an image, any ideas what it means and what I can do to fix it? Warning: Cannot modify header information - headers already sent by (output ...
0
votes
1answer
363 views

Displaying warning if no featured image has been set - Post Editor

I run a multi-author website and many of my users are forgetting to set a featured image for their post. This is a big problem as my theme depends highly on featured images to keep a consistent feel ...
-1
votes
3answers
3k views

“Warning: call_user_func_array() [function.call-user-func-array]:” above comments form [closed]

I've been struggling with a warning message above the comments field on a site I'm building for a friend and I'd be very grateful if you're able to help. I've asked on the Wordpress Codex, but ...
-1
votes
1answer
75 views

Marketpress php warning on server, no problem on localhost [closed]

I have this in my functions.php that creates a shopping cart widget with the plugin Marketpress. <?php function marketpress_get_cart_subtotal($format_currency=true) { global $mp; ...
-1
votes
1answer
473 views

“Cannot modify header information” warning?

Problem I'm having: Warning: Cannot modify header information - headers already sent by (output started at /nfs/c06/h02/mnt/157520/domains/website/html/rpow/wp-config.php:1) in ...
-2
votes
1answer
1k views

Wordpress Errors in generated by theme check plugin [closed]

Please help me in solving these warnings, in order to submit the theme for submission. Thanks in Advance. I have found many warnings and have solved many of them thanks to wordpress.stackexchange.com ...
-3
votes
1answer
109 views

How can i get rid of warning messages [closed]

URL:http://www.gazettevandetroit.com/ Error: Warning: Invalid argument supplied for foreach() in /home/gazettev/public_html/wp-content/themes/exquisite-wp/template-home.php on line 118 Code File: ...