WooCommerce.php crashing Wordpress website - wordpress

Can someone please help. My customer has a Wordpress site built using Woocommerce. Recently Wordpress updated and my customer updated his plugin also which caused the whole thing to crash (500 error). I have logged in via FTP and disabled the plugins so the basic site is back up. I have also gone into the plugins and tested them and found only one is crashing the site and that is the WooCommerce.php itself. I have tried rolling back and reinstalling but it continues to crash. WP is version 4.9.8-en_GB. WooCommerce.php version is now 3.4.4 - both the latest. Neither myself or the customer are hugely experienced in this type of site. Oh and the stinger is while he did set up a backup plugin - the thing never completed a back up in the year or so it ran! Help..... we are at a loss.

Related

Wordpress plugins only loading after page refresh

One of the websites I am working on is running the last version of Wordpress and a Qode Theme from themeforest.
I hired a Fiver website speed optimization specialist however, after he was done, certain parts of the site would not load properly anymore.
Example 1: https://www.sweetsmilingsoul.com/book-a-discovery-call/ - the Calendly plugin only loads when refreshing the site
Example 2: https://www.sweetsmilingsoul.com/ the instagram plugin (FeedThemSocial) does not load with every page visit.
I am guessing it is a caching plugin. I have uninstalled all the caching plugins the Fiver guy installed but the problem still persists.
Both of the links work fine and the plugins are loading right away. Clear your browser cache and if you have Cloudflare enabled clear the cache from there.You could also ask him what he/she has done, check if something is cached through .htacces or just restore your website to a backup

Wordpress: redirecting to wp-admin/install.php even after reinstalling backup of a version that for sure worked

I'm having major difficulties to regaining access to my wordpress website (was online for 2 years) and to admin login of wordpress. I've been searching for quite a while now to resolve this issue.
I constantly got the too many redirect error and my browser was always redirected to wp-admin/install.php.
I already tried the common solutions:
Clear Your Cache and Cookies of browser,
disable .htaccess,
disable all plugins,
disable theme,
adapt wp-config.php:
define('WP_HOME','http://example.com');
define('WP_SITEURL','http://example.com');
Check/restore tables of database;
Check wp_options table (did not find a table wp_options (or similar named) in my database)
Nothing worked, in the end I tried the solution to reinstall my website with an old backup (generated from Duplicator – WordPress Migration Plugin) I generated in May. This issue only occurs since a few days so the backup version of the website was certainly a proper working one.
Unfortunately still the same issue appears, the websites keeps redirecting to wp-admin/install.php.
Anyone who has an idea what the solution could be?
Thanks in advance & kind regards!

Wordpress - Theme stuck at loading after migration

I have been recently tasked to migrate a Wordpress page to another hosting services. Task, which should be quite easy, took me last 2 days and I still can't figure out what is wrong. After migrating (tried it with Duplicator plugin, manual copying and changing links in database) pages won't load. I managed to get into backend and after changing theme to any default Wordpress theme (twentysixteen, twentyseveteen etc.) site works fine but when I try use designated theme (Proxima, https://themeforest.net/item/proxima-responsive-business-multipurpose-theme/8094780) it just won't load. Page is trying to load but in the end it shows 503 error. Same thing if I want to see the preview of theme in backend, loading animation appears and nothing happened. I tried a lot of things to fix it: changing file permissions, disabling plugins, updating Wordpress, downgrading Wordpress, changing php version, changing MySQL version and nothing works. My theme support has expired and before I renew it I just wanted to ask if anyone had that problem before. Maybe there is super easy fix and I just don't see it.
Thanks in advance for any help
Problem solved with hosting support. Bad media path was the problem.

Wordpress Dashboard broken, displays “flashbacks” of comments/plugins/updates

I’m using the latest version of Wordpress (4.7.4).
I have something very weird going on in my Dashboard. Not sure when this started.
Can’t say for sure it started with the latest version of Wordpress or not.
My Dashboard became completely useless.
It’s like it’s showing me a flashback of a Dashboard from a few days or hours ago:
Comments I’ve deleted in the Dashboard (hitting “trash”) are suddenly back there, awaiting my moderation.
Plugins I’ve deactivated or even deleted are all back there and according to Dashboard still running (while in my FTP folder they’re certainly gone).
The plugin page cannot be trusted anymore as it shows some plugins are activated that aren’t and vice versa. I have to check on my actual website to confirm which ones are running.
Updates aren’t shown correctly. Once I’ve updated a plugin, a few minutes later it shows me again that there’s a new update.
As you can tell it’s all pretty much the same phenomenon.
It’s as if I’m seeing an older version of my Dashboard.
Not sure what else is broken.
The only other thing I noticed is that even on my actual blog I still see a comment. Blog post says “1 comment”, but the actual comment doesn’t show up.
At first, this all sounds like a “cache problem”.
But I’ve already turned off all caching:
No caching plugin installed
Turned off server caching via htaccess
Disabled leverage browser caching
Emptied my own browser cache
Other things I tested:
Turn off all plugins.
Switch to the standard Wordpress theme “Twenty Twelve”
I tried WP_DEBUG, but nothing related shows up.
I researched the internet, but nobody has described a similar problem, so I suppose this is not a common Wordpress issue.
The issue remains.
Unfortunately I’m not a developer and don’t know too much about the Wordpress codex etc.
But to me it sounds that the mistake is definitely not in the plugin or theme folder.
The problem is that I’ve reached the point where I really cannot turn off plugins via Dashboard properly anymore. It’s so annyoing!
My questions are:
Is it safe to assume that this is related to the Wordpress core
files?
What files exactly are in “charge of” the Dashboard?
Should I just try to re-download the newest Wordpress version and replace a few files (if so which ones)?
Should I do a clean Wordpress re-install or would that be too drastic?
Any other suggestions?
EDIT:
Additionally I tried now:
I manually downloaded the newest version of Wordpress and did just as
described on the Wordpress.org website. I manually replaced wp-admin,
wp-include folders and all root files. The issue remains...
The way my Dashboard is right now, I really can’t use it.
Please advice!
I contacted my host service again.
They just gave me the same line to insert into my .htaccess file and I told them I already tried it and it didn't work.
I then showed them my .htaccess file and they deleted the whole part that concerned their server caching.
Now server caching is completely off and everything works again.
Still not sure why this previously never caused issues.
In the end, it had nothing to do with Wordpress.
I hope this answer will help people who run into similar problems.

Ajax Error!!! parsererror in Wordpress

I have a local install of WP running on MAMP.
It is the latest 3.8.
I have installed a theme called Dante which is a pro theme and recommends various plugins (some of which are essential).
One of the plugins in called Revolution slider, and this is giving me grief.
I can install the plugin fine, however when I try and create new slider (from within the plugin) I get a message saying Ajax Error!!! parsererror
I have contacted the plugin supplier who have asked me to check the permissions of the plugin folder - I did (even made them 777) but no joy.
Can anyone help me as to where I should start debugging?
Many thanks
The problem lay with there not being enough memory allocated.
Adding
define('WP_MEMORY_LIMIT', '240M');
to wp-config fixed it.

Resources