The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [warnings]

The tag has no usage guidance.

24 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
1
vote
1answer
489 views

Warning: sizeof (): Parameter must be an array or an object that implements Countable, On products pages

I have a WooCommerce WordPress Theme installed. I'm getting an error that public users can see, So I need to fix it ASAP. The error is shown on all products pages, Here is the error: Warning: ...
1
vote
0answers
120 views

Warning(unlink) Warning: session_start() Warning: Cannot modify header information

For website truelove4hope.org. Only the homepage has this issue. And only for Firefox on my computer. Chrome works just fine. Warning: unlink(/home2/wondesk2/public_html/truelove4hope/wp-content/...
1
vote
2answers
314 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
132 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
5answers
64 views

Warnings even when the WP_DEBUG set to false

The link https://vreqenz-stream.de/shop/ throws warning when opened on some devices and not on others. I thought it may be a cahce issue but I have cleared cache from WP-rocket and also browser. Just ...
0
votes
1answer
15 views

Admin keeps showing pending translation update

WP shows that I have a pending update In /wp-admin/update-core.php, I see it's a translation update I press the update translation button The update warning disappears ... and after a few moments of ...
0
votes
0answers
104 views

Warning wp-db.php on line 1172

From time to time my site has presented these warnings in the log: Warning: mysqli_real_escape_string() expects parameter 2 to be string, array given in /.. mypath ... /wp-includes/wp-db.php on ...
0
votes
1answer
193 views

What's the warning on line 736?

on my wp5.03 (though warnings were thrown Jan 7 and 19 so 5.02 or ) from public_html/error_log PHP Warning: trim() expects parameter 1 to be string, array given in ... /wp-includes/class-wp-query....
0
votes
1answer
25 views

PHP Warning adding menu

(sorry for my english...) I have an issue...: I can't add / translate menus in my admin. I have this error in debug.log : PHP Warning: strip_tags() expects parameter 1 to be string, array given ...
0
votes
1answer
34 views

Debug in WP backend

The problem - I get these warnings each time I login to /admin page in WP. Depending on which browser I use, there are problems with these: Warning: call_user_func_array() expects parameter 1 to ...
0
votes
1answer
42 views

Default and warning messages & no login

a few days ago I found these default messages on my website. Problem: I even can´t login to dashboard anymore. Some advice? This is what happened: Warning: Declaration of Pgm_Walker::start_el(&$...
0
votes
1answer
74 views

How can I get $wpdb to show MySQL warnings?

In some cases, when given a bad query, will attempt to run the query, and give a warning (instead of an error). In the MySQL prompt, to see these warnings, you can run SHOW WARNINGS;. For instance: ...
0
votes
0answers
351 views

Theme check warning about text domain

While running theme check plugin in my theme, it shows a warning [More than one text-domain is being used in this theme.The domains found are industrypro-thecreo,]but I am using only one text domain ...
0
votes
0answers
281 views

Error: Warning: strpos() in media.php

Received a new error after updating php to version 7.1 Here's what he writes: Warning: strpos(): Empty needle in .../wp-includes/media.php on line 1147 Here's what's on this line: if ( ! $...
0
votes
1answer
474 views

CPT issue: Warning: call_user_func_array() expects parameter 1 to be a valid callback

I'm getting an error on the admin screen for the custom post type. I've searched lots of other answers but see nothing in my code that could be causing it. Here's my code. Any help would be greatly ...
0
votes
1answer
43 views

Custom post type - Errors

I am getting these errors: Warning: call_user_func_array() expects parameter 1 to be a valid callback, no array or string given in C:...\class-wp-hook.php on line 298 Warning: Cannot modify header ...
0
votes
1answer
1k views

PHP warning are displaying when using WP CLI

I'm running WP CLI 0.25.0 on Debian, PHP 7.0. I keep getting the PHP warnings displayed. In php.ini used for cli I have set error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT & ~E_WARNING ...
0
votes
1answer
41 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
17 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
84 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 .../wp-content/themes/...
0
votes
0answers
707 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
683 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
1answer
590 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
1answer
831 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 /nfs/c06/h02/...