Questions tagged [troubleshooting]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
2k views

Problems fixing a REST API 404 after Moving my WordPress Directory and updating Permalink Structure

I am running a self-hosted version of WordPress on a Linode VPS running Debian 9. I was previously using WordPress on a /blog directory because I had a basic HTML site that I decided not to keep any ...
1 vote
0 answers
6 views

Help Needed: Issue with Change Permalink on DirectoryPress Listing Pages

I'm encountering a problem with a WordPress plugin I'm developing for DirectoryPress listing pages. The plugin aims to replace the default permalink with a new link specified by users in a custom ...
0 votes
1 answer
5k views

How do I find out from my database what version of Wordpress I need?

I have a Wordpress website that someone broke at some point when trying to update it. Unfortunately, I do not have a backup of the original files that the site used. What I do have is a seemingly ...
0 votes
1 answer
2k views

Changes to WordPress database using phpMyAdmin not reflected on blog

I am updating my database using the phpMyAdmin UI and the changes are not reflected on the WordPress blog. The reason for doing this is when some changes were made recently to the blog the site hanged ...
2 votes
1 answer
63 views

WordPress Permissions Issue for Media Library / uploading

I've got some issues with file permissions which I'm trying to resolve... I have two sites and they both have the same permissions as far as I can tell but for some reason one site can upload files / ...
1 vote
0 answers
26 views

Troubleshooting: Several plugins deactivate at random times

For some reason several (but not all) plugins on my live site deactivate themselves at times. Some of them are my own plugins (mostly stuff that could have been in functions.php, but I prefer ...
0 votes
1 answer
816 views

Remove Double Menu in Mobile View and Have one Menu Only

There is a double menu that shows up on Mobile on the following website www.plotterpro.com/newsite I have been attempting to hide and it just does not want to go away.
0 votes
0 answers
112 views

How can I disable a plugin in Health Check mode if there's a critical error?

The normal approach to this would be to rename the plugin directory, but that would affect the live site as well. I can rename health-check-troubleshooting-mode.php but the critical error just resumes ...
0 votes
0 answers
27 views

Images auto deleted after exactly nine months... or my visit triggered some kind of heart attack?

So I looked at my website and noticed that some of the images had disappeared. It was fine yesterday. The images that were deleted were from when I first set it up (so the files in the media library ...
1 vote
1 answer
771 views

Custom plugin with shortcode not working

I have a long-term client with a ton of custom shortcodes and functions for miscellaneous purposes we've accrued over the years and I decided to re-home them into a custom plugin so I didn't have to ...
0 votes
0 answers
165 views

How do I troubleshoot Maximum execution time of 60 seconds exceeded in updating a Media File?

I'm on a shared hosting plan. Getting this error log entry when the user tries to update any field on a Media Attachment. [13-Oct-2022 20:10:05 UTC] PHP Fatal error: Maximum execution time of 60 ...
0 votes
0 answers
275 views

WP_Query retuning empty array in rest api

I recently started writing a rest api for my plugin. I need to access some custom posts however WP_Query is returning an empty array when I'm querying the db. There is the custom post type declaration....
2 votes
2 answers
28k views

White Blank Page when Updating and Publishing Page/Post

I have a serious problem here, every time I publish and update a page/post it displays a white blank page.. here I don't know how to fix it.. is there anyone that can help me? Thanks :)
0 votes
1 answer
1k views

Why does the custom HTML block not preserve the HTML characters?

For example it seems that the plain single-quote character ' (') is converted to the right ones ’ (’) in the HTML page output. I understand the reason for this in regular Gutenberg ...
0 votes
0 answers
45 views

website returning random 504 and 502 errors

I am getting 502/ 504 errors on the website randomly, and have tried all the methods to debug the issue but unable to fix it When getting 5xx errors, I tried renaming the plugins folder to check if ...
1 vote
0 answers
199 views

do_action and add_action on two different installed plugins won't work

I have an existing plugin (wptelegram) which implements in its code a call for do_action (for example, wptelegram_p2tg_after_send_post) that I would want to hook a function into. I created a basic ...
0 votes
1 answer
662 views

My site does not load but downloads a file (wordpress)

Can someone help me to find a solution for my site. when I install a cache plugin either WP rocket or W3 Cache my site gives a download file when I try to access it and the page wont load. this all ...
0 votes
0 answers
130 views

Wordpress all php BUT index.php downloads instead of loads

I've looked around a couple other solutions, but none have worked so far (modifying .htaccess, emptying .htaccess, disabling themes,plugins). My website works fine, the index.php in the root directory ...
0 votes
0 answers
252 views

Diagnosing WP-Cron jobs locking up my server

I have two self-hosted WordPress servers load balanced and running the same three sites on both servers. For a while now, we have an issue where we either get unexpected CPU spikes causing one or both ...
0 votes
1 answer
233 views

I am receiving a pluggable.php warning sign on my only http:// page

I just recently shared a link to my site using he http to my site: http://thechronicalist.com but instead of redirecting, i just displays this: Warning: Cannot modify header information - headers ...
0 votes
2 answers
602 views

qtranslate arabic shortcode?

I used qTranslate in my site. Four language selections. English Russian Turkish Arabic But Arabic does not work. I tried this url: site.com/ar but it still does not work. Shows an error like the ...
0 votes
0 answers
36 views

removing description tabs - single product page - breaks footer

I would like to only dispaly the gallery & short despcription on the single product page. Using: add_filter( 'woocommerce_product_tabs', 'woo_remove_product_tabs', 98 ); function ...
0 votes
0 answers
43 views

Problems with cart and pages on _s theme

I recently took over managing this website Berman Instruments, one of our clients. They claim that it the cart was working until June. This is a 2 part problem. In this scenario, an unregistered user ...
0 votes
2 answers
451 views

What do I do if my WordPress site is suddenly sanitizing portions of URLs it shouldn't?

Nobody has touched wp-admin for this site in weeks. Suddenly, URLs are being sanitized in ways that break everything. The question marks of query parameters are being replaced with URL escape code %3F,...
0 votes
1 answer
44 views

HTTP 500 error when updating a page

We got a Wordpress site, designed by an external contractor a couple years ago. https://playbacktheatre.com.au We recently (Dec 2019) changed hosting providers in search of a better service. After ...
0 votes
2 answers
3k views

Site downloads files instead of loading them

Until two days ago the site was working fine. Yesterday, I've done nothing to it and now when I try to go to the web site it downloads a file that contains: <?php /** * Front to the WordPress ...
1 vote
1 answer
26 views

I just got my domain vsmathur.co.in verified by Google Domains, but cannot access my WordPress site, Help! [closed]

Folks, Just to give you a brief history, I have been running my WordPress site located at: http://vsmathur.co.in successfully till 10th of December, 2019. I was also able to access the /wp-admin. ...
0 votes
4 answers
7k views

My Wordpress website was hacked [closed]

Today while working, I had tried to install Go Pricing Plugin from this website. https://www.downloadfreethemes.download/go-pricing-v3-3-8-wordpress-responsive-pricing-tables/ It was unsuccessful at ...
0 votes
1 answer
431 views

Why is my WP site blocking my own IP?

Im stumped WP is hosted on a VPS Browser will not load anything curl returned connection refused SSH access to the VPS works UFW does not have any specific ip addresses blocked Apache logs do not ...
0 votes
0 answers
45 views

How can I figure out what is making my Wordpress site so slow?

My site, which is small and only just recently launched, is pretty damn slow when it comes to doing admin stuff. What tools/techniques can I use to help narrow down whether the slowness is due to my ...
5 votes
3 answers
516 views

Easy code troubleshooting in wordpress

Is there an easy and standard way to debug our code in wordpress plugins? I want to print some variables in a function that runs when a certain things happen. Is there a wordpress way to save this in ...
1 vote
0 answers
25 views

I got an issue after i migrated a site

I recently migrated a site to a larger server. Everything appears to be fine, the site works everything transferred over. The site does have an SSL cert. Recently we started to get flagged as unsafe ...
-1 votes
1 answer
146 views

Where to find remaining Boldgrid code in WP database?

I have a boldgrid installation gone wrong. To remedy it, I uninstalled all boldgrid elements from the WP interface (not via boldgrid as is required, because I didn't even check to look for such a ...
0 votes
1 answer
18 views

Auomated crash recovery?

Is there, or do you know of any in development, a solution that will provide push-button recovery when a plugin update causes a crash??? Many systems now provide push-button rollback to a backup if ...
0 votes
1 answer
275 views

How to direct user after comment save

I've been trying to direct the user to the specific page after they posted the comment, but that not luck for me. Here is the my code blocks My first try: add_action('wp_insert_comment', array($...
-1 votes
2 answers
5k views

meta_query for an ACF checkbox field don't works correctly

I got a problem with value = 0 for meta_query checkbox field: $args = [ 'post_type' => 'post', 'post_status' => 'publish', '...
1 vote
0 answers
137 views

Masonry images not working

Until yesterday, all 10 tiles were showing on the main page on this website. After updating 3-4 pages and adding a "blog" function to them (separated by category), only 3-6 tiles will show at any ...
0 votes
1 answer
305 views

new WPMS site not working / Q setting up new site/subdomain

I have followed all the instructions and read several articles verifying the config for WPMS was done correctly. My root site works fine, but when trying to go to the dashboard (or the direct URL) ...
0 votes
1 answer
1k views

"Backdoor-list.txt" files unexpectedly in server

Furthermore, there are "bad-directory-permissions-list.... .txt"files. My website is currently under repair due to malicious code being found. Could this be part of it? Should I delete these files ...
1 vote
1 answer
1k views

Divi Child Theme not appearing in "Themes" [closed]

I've created a "divi-child" folder within the "/themes" directory of my site with the appropriate "style.css" and "functions.php" files within. Code for those files is below. Even with all of this in ...
3 votes
2 answers
19k views

W3 Total Cache active but not working [closed]

Update: Found the reason for the issue. The theme had this add_action('init','ezgz_buffer'); function ezgz_buffer() { ob_start('ob_gzhandler'); } The above code enables gzip-compression if the ...
1 vote
3 answers
561 views

Find source of notice / warning / errors efficiently

While debugging plugins or themes I will often come across a notice / warning / error which doesn't really provide useful debugging info. Notice: get_current_site_name is deprecated since version 3.9....
0 votes
2 answers
737 views

My WordPress install is not loading the admin styles

I'm having this problem where my WordPress install is not loading up any sort of clients scripts or styles, here is what the login form looks like: Any ideas on what's going on here? I've reinstalled ...
0 votes
1 answer
134 views

How to use page jumps to top of banner and page title?

I've tried using page jumps as instructed by countless websites to "jump to the top of my page": Source code followed by destination code: <a href="top_page">LINK TEXT HERE</a> <a id=...
1 vote
0 answers
487 views

My Homepage Suddenly Disappeared and I Can't Get It Back

All of a sudden my website's homepage (a static page operating as my storefront) disappeared, and its now displaying a blog feed of the latest posts. If I click through on any of these posts in the ...
1 vote
0 answers
19 views

Having wordpress page accesss issue under sub-directory

I have hosted website at sub-directory but pages content is not showing and only header and footer display at pages. My index file have this code for pages display. It was working fine at root ...
0 votes
0 answers
28 views

404 error when opening Singe Portfolio pages

Had a website running for a few months... never had this problem... when I open a single portfolio page, it says Page not found .... like here: http://zemaraim.com/artwork/omotai/ Haven't installed ...
0 votes
2 answers
25 views

Readers can't view my pages/post whitout logging in?

I don't know what I did wrong but public can only access my front page. Once you click on another page you are ask to log in. I think this is a new issue and maybe due to wrong setting somewhere. But ...
0 votes
0 answers
62 views

Unable to load Posts list & Getting error 500 error

List of Posts & Events doesn't load. Can't publish new either. Pages work fine. There was another error too which are now ignored using this: https://stackoverflow.com/a/32860981/1463443 I tried ...
0 votes
1 answer
711 views

Moving jQuery to footer from header

Here is my file. My wordpress is 4.5 =============================== FRONT-END ENQUEUE FUNCTIONS =============================== */ function sunset_load_scripts(){ wp_enqueue_style( 'bootstrap', ...