Questions tagged [bug]

The tag has no usage guidance.

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

get_object_term_cache duplicate terms after update to wordpress 6

After WordPress update to 6 versions receives an issue. receive duplicated terms on function echo wp_kses_post(get_the_term_list($product->get_id(), 'product_cat', '', ', ', '')); and echo ...
user avatar
  • 1
0 votes
0 answers
7 views

Featured Images most often doesnt appear

I recently facing a problem that never occure before. When i open "add new post" page most of the time "Featured Image" option doesnt appear.However if i keep refreshing the ...
user avatar
0 votes
0 answers
231 views

WooCommerce variable product can not add to cart using ajax after updating latest version of WooCommerce

if ($passed_validation && WC()->cart->add_to_cart($product_id, $quantity, $variation_id) && 'publish' === $product_status) { In this condition WC()->cart->add_to_cart($...
user avatar
  • 227
0 votes
0 answers
64 views

Received Updateing failed. not a valid JSON response. linked with _locale=user

I’ve been struggling for few days to resolve the issue with β€œUpdating failed. Non-valid JSON response message at the top of my page. The issue comes with the image block and the icon box block from ...
user avatar
  • 1
0 votes
0 answers
101 views

Fixed: Console.log twice in the edit function

Hi Guys I am using $ npx @wordpress/create-block todo-list package and I found something interesting. I have not changed everything in the file structure but my console.log or any variable get ...
user avatar
3 votes
0 answers
129 views

No longer able to attach S3 bucket files to emails being sent by WordPress due to PHPMailer security update

I've been trying to track down why my s3 bucket files are no longer being attached to automated emails being sent out by WordPress (using the Gravity Forms Entry Automation plugin). I've been able to ...
user avatar
  • 131
1 vote
0 answers
598 views

Fixing WordPress's Bug (failed to send buffer of zlib output compression) results in "White Screen of Death"

Problem: A user using my plugin experienced the infamous 'White Screen of Death' (WSD) on their homepage, all other pages worked correctly. Cause: My plugin implements a fix to the infamous WordPress ...
user avatar
  • 337
0 votes
1 answer
12 views

Can I alter the block editor's paste text behavior?

In the sample editor, create a paragraph with just Hello world, copy it and--while still selected--paste over it. You get the expected pasted text. But if there's a leading word with a colon (Hello: ...
user avatar
1 vote
1 answer
235 views

Default image size not working

I have some hooks on my WordPress Theme in order to customize the default images sizes, but it does not work. Here is the code: function my_custom_image_size() { add_image_size( 'post_size', 730); ...
user avatar
0 votes
0 answers
28 views

A bug happens in the Footer and the code keeps appearing

On this WordPress site with the Newspaper theme, the footer appears and looks normal (as you can see in https://www.vendaonline.pt/), but I installed a question plugin (DW Question Answer) and on the ...
user avatar
2 votes
1 answer
363 views

How can you receive the most recent permalink or terms of the newly saved post?

When using the Gutenberg Block Editor the normal hooks for saving a post don't have the same behavior as with the classic editor. pre_post_update save_post wp_insert_post For example, if you hook ...
user avatar
  • 999
0 votes
0 answers
81 views

Media Dialog CSS broken in WP v.5.3.2

My plugin displays the media picker dialog on the users front end. If a user has WordPress 5.2.2 installed then the media picker dialog looks nice/normal (see the first image). If they have WordPress ...
user avatar
  • 337
0 votes
0 answers
22 views

Editing Pages Icons Are Not Showing Up - Why is this happening?

https://prnt.sc/pgoou9 - check it out https://prnt.sc/pgop70 - here too. https://prnt.sc/pgopeo - however putting the mouse above them shows their function but still... How can we fix this situation, ...
user avatar
0 votes
2 answers
2k views

Icons are missing from Visual Editor

The Problem I've been grappling with this bug over several days now to no luck. When editing either a post or a page, all icons in the Visual Editor are missing: As you can see this, includes the ...
user avatar
1 vote
1 answer
30 views

Url having # at end [closed]

Sir , I have a e-commerce website on wordpress. After everything done from my backend I started testing website on mobile devices but sir my website pages urls are not refreshing properly. One ...
user avatar
0 votes
1 answer
22 views

Password not resetting on wordpress?

I've repeatedly tried to reset my password on the Wordpress site according to their help site but it never changes despite not throwing an error. Attempting to reset my password through the 'forgot ...
user avatar
0 votes
0 answers
30 views

Login issue in Wordpress

I'm facing currently an issue with my wordpress site, i don't know exactly what happened but when i try to login from /wp-admin i enter my password and i connect, but naturaly after the session dies i ...
user avatar
2 votes
1 answer
325 views

How can I set status='publish' for all featured images?

Background: I've come accross this WP issue: https://core.trac.wordpress.org/ticket/41445 In short: when you make a request to a post over the REST API, if the featured image was originally uploaded ...
user avatar
  • 139
1 vote
1 answer
83 views

Is there a way to append meta data without creating a race condition?

Our site has a lengthy AJAX function that appends content to the user's cart, which is stored as an array in the usermeta table. The function looks something like this: $cart = get_user_meta($userID,...
user avatar
0 votes
0 answers
103 views

Multi line of $wpdb->query just run 1 time and end the loop right after

<?php foreach ( $posts_array as $post ) { $post_id = wp_insert_post($post,true); //var_dump($post); $wpdb->query($wpdb->prepare("UPDATE wp_posts SET VenueLongitude = '$...
user avatar
0 votes
1 answer
570 views

Product slider not showing when clicking on tabs

I'm in need of some specific help with my Wordpress webshop of the Blaszok MPC theme. The website can be found at http://testsite.vansompel.be The problem is situated when scrolling down to the tab '...
user avatar
  • 3
0 votes
2 answers
2k views

How to Fix WordPress Not Saving Settings?

How Can I Manually Fix & What is The Root Cause? The Site Language setting in Settings > General for my site, will not update. It is stuck on English (United States). I have done all the ...
user avatar
  • 254
1 vote
0 answers
25 views

Wordpress site periodically goes down

my site https://mediatrends.me/ periodically goes down. It works fine and then all of a sudden any page becomes unreachable in every web browser. "site can't be reached", etc. After a few minutes it ...
user avatar
0 votes
1 answer
74 views

How can I stop 'in use' message from intermittently blocking my wp_posts table?

How can I stop the 'in use' message from intermittently occurring in phpMyAdmin wp_posts table? I have no warnings and no error messages prior, but when it happens to my wp_posts table, all my ...
user avatar
  • 11
0 votes
1 answer
175 views

Why is switching between themes breaking my child theme?

I am working on a child theme that I am building on top of twentyseventeen. Everything was displaying as intended within my page templates. However, if I switch between my theme to another and then ...
user avatar
0 votes
1 answer
530 views

Woocommerce categories displayed on every category and shopping page

Since we updated to the latest version of woocommerce today we've been having a problem. On every category page and shop page it displays all of the main categories (not the sub categories) we have on ...
user avatar
-1 votes
1 answer
963 views

Disable PAGESPEED SCRIPT INJECTION to IMAGE in theme files [closed]

Since a few days I am bugged with INJECTION of PAGESPEED scripts for every image all across my theme files, and it just messes up the code (though it doesn't break the site). I want this to be ...
user avatar
0 votes
0 answers
50 views

WP Dashboard -> Posts-> Filter > BUG!

I've a problem in the Posts List in the Dashboard. When I filter (by POST) the Posts the results aren't the same than to pass the category slug by GET. Here the examples: by GET: by POST: Can you ...
user avatar
  • 1
0 votes
1 answer
39 views

Title tag wont change

I changed the Title of the Blog, in the Customizer and everywhere else i checked the title, it changed, except on the actual site. I already checked, if the tag is set static in the header.php, its ...
user avatar
  • 1
1 vote
0 answers
50 views

Trying to Edit a Page but it sends me to a Product Edit page

I have the strangest issue that I encountered. I have updated the newest version of Wordpress and installed Google Analytics GADWP Plugin and Yoast SEO. (I don't think this is the issue though) When ...
user avatar
0 votes
2 answers
616 views

Meta Query doesn't works as espected

i have a little big problem with meta queries. I Designed a query to retrieve posts where any of these words exists in the custom field pickup_address. the field has this string in its meta value: 43 ...
user avatar
1 vote
4 answers
254 views

WordPress Odd migration issue

I migrated my WordPress install and DB to another server (same domain). And I am getting this: Also everything is where it should be (including file and db permissions and other specific settings): ...
user avatar
-2 votes
2 answers
1k views

Paste Function Broken

My paste function appears to be broken for my Wordpress site. I have tried on multiple computers, and browsers, and the results are the same: I cannot post anything, whether it be text, an image, or ...
user avatar
3 votes
1 answer
1k views

Why is wordpress removing some unicode characters (e.g. some emojis) when I save my post?

Try making a new post, pasting this string of emojis: "πŸ»πŸπŸ¦πŸˆπŸ”πŸ„πŸ¦€πŸ•πŸ¬πŸ˜πŸŸπŸΈπŸπŸŽπŸ’πŸΌπŸ–πŸ‘πŸŸπŸ’πŸ³" and then saving that post as a draft. When I do this (in WP version 4.7.4), it removes the emojis. ...
user avatar
0 votes
0 answers
47 views

Site has fake users registered with a similar pattern in username and email

Website keeps getting hundred of fake users. Registration form has reCaptcha but no effect. By changing required fields in form to add First Name and Last Name required still fake users keep getting ...
user avatar
0 votes
1 answer
62 views

Meta key in wp_query bug?

$query_args = array( 'post_type' => 'post', 'posts_per_page' => 6, 'order'=> 'desc', 'orderby' => 'meta_value date', 'paged' => $paged ); This is my current query to sort posts. What ...
user avatar
0 votes
1 answer
142 views

Cannot use old slug - it just 301s to site home page

Thanks in advance for any help guys, For some reason my three pages stopped working, they just 301 to the home page. I think it may of been due to installing a plugin but I am not entirely sure. I ...
user avatar
0 votes
1 answer
236 views

Wordpress Visual Editor is not working

From 2-3 days, Wordpress Visual text editor is not working. I cannot type anything, cannot press any button. Nothing is working in the "Visual" section. But "Text" (html) editor is working perfectly. ...
user avatar
0 votes
1 answer
51 views

How to link file or image from wordpress plugin dir to theme by using themes function.php, is it possible?

I have some image file in my plugin directory. I want to display those file by using my theme function. I am trying many way but something was wrong. Theme and plugin both dir is loaded at same time. ...
user avatar
1 vote
1 answer
2k views

Woocommerce: custom loop in product tabs breaks reviews tab

I came across a weird issue, not sure whether it's a bug or something is wrong with my code. Woocommerce allows to show cross-sale products only in the cart by default, so I had to make a custom loop ...
user avatar
0 votes
1 answer
965 views

Add post overwriting permalink from previous post in 4.6

Since updating to 4.6, I've noticed that if I add a second post shortly after the first, I'm overwriting the first post. The editor is blank, but permalink is the pre-existing post. I simply have no ...
user avatar
  • 95
-2 votes
1 answer
11k views

Suddenly, all links in #content div are not clickable, but I don't see any z-index bug? [closed]

Following a bunch of seemingly harmless plugin updates, I suddenly have a weird bug. All of the links in my #content section are now unclickable, although the links in my sidebar, header, footer, etc....
user avatar
3 votes
1 answer
3k views

Add Media has stopped working in the front end since 4.5 update

I've got a page that calls wp_editor in the front end. Since upgrading to 4.5, the Add Media button no longer does anything at all. It works fine if you call it in the admin section. There's no word ...
user avatar
6 votes
1 answer
2k views

Images all broken after migration and upgrade

I have upgraded a neglected Wordpress installation the was a few versions off. After the installation and upgrading multiple version, all of my images are now broken which were not before. Whenever ...
user avatar
  • 113
0 votes
0 answers
184 views

WordPress 4.4.2, _s starter theme, problems with custom default header

I'm using the _s starter theme and setting up a custom header image. I've got this code: add_theme_support( 'custom-header', apply_filters( 'xyztheme_custom_header_args', array( 'default-image' ...
user avatar
2 votes
1 answer
5k views

wp_enqueue_script with dependencies doesn't work

I'm having this code: wp_register_script('parent','parent.js', array('child'), '1', true); wp_register_script('child', 'child.js', array('grandchild'), '1', true); wp_register_script('grandchild', '...
user avatar
1 vote
0 answers
102 views

Menu items suddenly are displayed all over the page [closed]

Strange things are happening :( When you take a look at the site: www.handelbijvanandel.nl you will see that all menu- and submenu items are shown on the page. At first I didn't pay much attention to ...
user avatar
  • 21
8 votes
2 answers
2k views

Uploaded images don't show in Media Library if there are special characters in IPTC Keywords

Some images that are uploaded to WordPress don't show up in the Media Library. The images get uploaded and even cropped to the defined sizes, there is an entry in the Media Library, but the preview ...
user avatar
  • 203
0 votes
1 answer
535 views

Undeletable posts, users or other content

Recently I tried to move a WordPress instance to a production server and (besides other issues) had to deal with a page that could not be deleted via the admin panel. The success message would show up ...
user avatar
  • 111
0 votes
1 answer
50 views

Why doesn't the Media Browser use thumbnail sized images?

The folks updating our site oft complained about the media browser being very slow, so I went to have a look. And, on the first load of the page, and when doing a search within the media browser, its ...
user avatar
  • 157