Questions tagged [warnings]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
17 views

Word press and PHP error caused these errors [duplicate]

Warning: Declaration of Thesis_Comment::start_lvl(&$output, $depth, $args) should be compatible with Walker::start_lvl(&$output, $depth = 0, $args = Array) in /data/25/0/30/26/30678/user/...
1
vote
0answers
13 views

WordPress Multi-site network tab throwing 'Error too many redirect errors'

Has anyone come across this issue.. whenever I try to access the /network section of my multisites it doesn't work which just started recently. It throws a ERR_too_many_redirects error and just shows ...
0
votes
1answer
15 views

class 'wphpc_PAnD' not found

PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, class wphpc_PAnD not found in /var/www/clients/client32/web3288/web/wp-includes/class-wp-hook.php on line 288 What can ...
0
votes
0answers
34 views

After updating theme & plugin I am getting an error message

Warning: session_start(): open(/var/cpanel/php/sessions/ea-php73/sess_fst434k28vgl24a35pujpu9u43, O_RDWR) failed: No such file or directory (2) in /home/fordhoow/public_html/wp-content/plugins/...
0
votes
3answers
645 views

class-wp-hook.php on line 288

Can someone help me with this error my website is not working even wp-admin page I'm getting this error message I have tried to disable all plugins but still same error? Warning: ...
0
votes
1answer
507 views

wp warning declaration compatible [closed]

Good night. Please help me. Update WP to version 5.3 and you are now displaying this message on the WP website and admin ( Warning: Declaration of kiddy_Walker_Nav_Menu::walk($items, $depth) ...
0
votes
5answers
163 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
18 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
156 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 ...
1
vote
2answers
171 views

Removing warnings and notices from production servers

I'm getting errors, warnings and notices being displayed on a site. Those include things like filesystem paths, SQL queries and wpdb prefixes, which I don't think it's particularly good to have them ...
0
votes
1answer
272 views

PHP warning with code for nav menu walker [duplicate]

[UTC] PHP Warning:  Declaration of description_walker::start_el(&$output, $item, $depth, $args) should be compatible with Walker_Nav_Menu::start_el(&$output, $item, $depth = 0, $args = ...
1
vote
1answer
750 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: ...
0
votes
1answer
227 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
27 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 ...
1
vote
0answers
152 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/...
0
votes
1answer
37 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
111 views

How to properly setup an activation hook

I am trying to register an activation hook for my plugin. The plugin is using classes and the actual activation method is held in a separate admin class. Reading the documentation for ...
1
vote
1answer
188 views

Ajax stops working when logged in?

I have implemented ajax in the website add_action('wp_ajax_wppl_function', 'wppl_function '); add_action('wp_ajax_nopriv_wppl_function', 'wppl_function'); But this works without any issue if i log ...
0
votes
1answer
280 views

How to fix this warning:call_user_func_array() expects exactly 2 parameters, 1 given in D:\wamp\www\…\wp-includes\class-wp-hook.php on line 286

I am creating Wordpress Dashboard Menu: add_action('admin_menu', 'personalised_menu'); function personalised_menu() { add_menu_page( 'Page Title' , 'Blog' , '...
0
votes
1answer
103 views

locked out of wordpress site 'warning: require once'

my site "puncturecallout.com" is not appearing and I cannot access the admin login page either. the error reads: Warning: require_once(/home1/mytenni5/public_html/puncturecallout/wp-content/plugins/...
0
votes
1answer
1k views

Website Warning: call_user_func_array() expects parameter 1 to be a valid callback, class 'Wppr_Public' does not have a method 'amp_support'

Warning: call_user_func_array() expects parameter 1 to be a valid callback, class 'Wppr_Public' does not have a method 'amp_support' in /home1/thrfolde/public_html/3foldtraining/wp-includes/class-...
-1
votes
1answer
75 views

Warning: Cannot modify header information

While installing a plugin I had the following error: "The plugin does not have a valid header." But somehow, it worked. So after that, I created a page on which I added the short code suggested by ...
4
votes
1answer
2k views

Wordpress 4.9.5 PHP intermittent warning trim() expects parameter 1 to be string, array given

I am running Wordpress 4.9.5 and occasionally see the following error in my logs. E_WARNING: trim() expects parameter 1 to be string, array given The stack trace looks like this, so it's not coming ...
0
votes
1answer
382 views

Can't access my site due to fatal error [closed]

I tried to access my site after a months break and can't even get the admin page to login. site is www.puncturecallout.com seems to mention the paypal plugin as the problem? Will be painfully simply ...
0
votes
1answer
20 views

Unknown file php5fcgi.core

Does anyone know what a php5fcgi.core file is? I've installed WordFence on a site that I've recently become an admin for and am getting warnings for two instances of this file: Unknown file in ...
4
votes
4answers
4k views

“Warning: count()” error on php 7.2

I'm currently working with php 7.2 and when I use get_the_content() or get_the_excerpt() outside of a single template, in the functions.php for example, I get the following Warning: Warning: count():...
0
votes
1answer
1k views

array_filter warning - wp-includes/post.php line 3148

I inserted the following code, see below, to have a post submitted from the front-end. When you submit it, this warning appears: Warning: array_filter() expects parameter 1 to be an array, string ...
0
votes
2answers
533 views

Warning on my WordPress site [closed]

Domain showing an alert message of " Deceptive site ahead ". How can I resolve this issue, please help. I have attached the screenshot showing error.
0
votes
1answer
45 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
83 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
1answer
40 views

Fix Warnings that shouldn't be necessary to fix

I was trying to fix some warnings and I noticed that I get constantly PHP Notice: Undefined variable: If I use : $categories = get_the_category(get_query_var('cat')); $cat_name = $categories[0]-&...
0
votes
0answers
364 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
292 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
497 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 ...
1
vote
1answer
2k views

Warning: : DOMDocument::loadHTML(): Empty string supplied as input in functions.php when adding classes to post images

So I'm using this code to add an extra class to all the images that load in the post and page content, and everything works good, but if there's no image I get the error also sometimes the error loads ...
0
votes
1answer
465 views

How to resolve Warning: Missing argument 2 for ufwp_widget_text ()

I am using the edume theme of online courses and when making a purchase of a course from my website give the following error. How could it solve? Warning: Missing argument 2 for ufwp_widget_text() in ...
0
votes
1answer
44 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
70 views

Wordpress function to add text warning on every pages [closed]

How to add a function to show a text (without JS) in every pages on Wordpress?
0
votes
2answers
665 views

Plugin showing error

I recently made up simple Minecraft site about one starting server, instaled plugin called:Minestatus, and getting these errors. Exact same error for one other plugin. I am running WP 3.19.4 Warning: ...
7
votes
1answer
21k views

Error Warning: Declaration of description_walker::start_el after PHP upgrade [duplicate]

I upgraded my PHP to 7.0 and after this I have this message in the header of my website: Warning: Declaration of description_walker::start_el($output, $item, $depth, $args) should be compatible with ...
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
2answers
1k views

WordPress is giving a warning but my code is working fine

I am developing a theme and am getting the following error "Warning: trim() expects parameter 1 to be string, array given in C:\wamp\www\themes\wp-includes\query.php on line 1609". I have tried ...
4
votes
1answer
154 views

How to display warning on post editor when trying to add new term to custom taxonomy?

i have a function i use to stop users from adding new terms to custom taxonomies, this is the code: add_action( 'pre_insert_term', 'prevent_terms', 1, 2 ); function prevent_terms ( $term, $taxonomy ) ...
2
votes
1answer
193 views

PHP contact form returns warning in text widget [closed]

I have created a contact form (with a lot of help from you guys here) and I want to be able to use it on pages and in text widgets via a shortcode (for sidebars etc). It works perfectly on both with ...
-1
votes
1answer
245 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
43 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
646 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
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 ...
-1
votes
1answer
834 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/...
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 ...