woocommerce update broke development website? - wordpress

I can't access admin dashboard or any pages on the frontend.. just blank page and view source is also blank. I've enabled error reporting in php.ini and still a blank page. I renamed both the theme name and deleted the woocommerce plugin and yet still blank pages.
How do i solve this? Can't even view errors? This is caused by updating woocommerce.

Enable WP_DEBUG and WP_DEBUG_LOG. This will show you errors.
define('WP_DEBUG', true);
define('WP_DEBUG_LOG', true);
See debugging in WordPress
This will be important for determine where the error is coming from. 9 times out of 10, if you are having a problem when you upgrade WooCommerce it is because your theme is bundling out of date templates.
Use FTP to rename the wp-content/plugins folder to wp-content/plugins-backup. Renaming the plugins folder effectively deactivates all plugins.
Additionally, rename your current theme folder to anything else. Though I have found this doesn't always reset your site to a default theme.
In the case where this doesn't automatically reset your theme, in PHPmyadmin navigate to your wp_options table and edit the values of 1. current_theme, 2. template, and 3. stylesheet to be twentyfourteen.

Related

My wordpress site is brocken. dont know what todo. Tried safe mode plugin but nothing happen

My wordpress site was working fine , but wordpress update it to V 5.4 and after that my website is not working , not even i can access my admin dashboard.
I tried all these step to solve this
MANUAL INSTLLATION (RECOMMENDED)
Download the WP Safe Mode plugin and unzip it, you’ll now have a
wp-safe-mode folder.
Connect to your server (for example via FTP) and go to your website
folder.
Add this line to your wp-config.php file:
if( !defined('WPMU_PLUGIN_DIR') ) define( 'WPMU_PLUGIN_DIR',
dirname(__FILE__).'/wp-content/wp-safe-mode' ); //WP Safe Mode
Create the folder named wp-safe-mode inside your wp-contents folder.
Uploade the file wp-safe-mode/bootstrap/wp-safe-mode-loader.php into
the newly created wp-safe-mode folder.
Upload the entire wp-safe-mode folder to your plugins folder in
wp-content/plugins.
If your site is broken and you cannot install plugins or access the dashboard, you can modify the loader file temporarily to gain access by following these additional steps:
Open the plugin file wp-safe-mode-loader.php and change this line:
public $safe_mode_on = false;
to
public $safe_mode_on = true;
Upload the modified wp-safe-mode-loader.php file to the
wp-contents/plugins/wp-safe-mode folder.
Visit your site, deactivate plugins etc.
Undo the changes you just made to wp-safe-mode-loader.php when you
want to disable safe mode.
But nothing works for me. Can you please suggest something so i can fix my problem
Theme Conflict Troubleshoot:
To perform this, you just activate a default theme, like Twenty Nineteen. Unfortunately, because your site is showing an error, you will need to perform the troubleshoot with either your web host’s file manager (like cPanel’s Filemanager), or use FTP or sFTP (it’s like secure version of FTP.) It’s important to note that in switching themes, you won’t lose your chosen theme’s settings. To do this, you rename your active theme’s folder by adding DISABLE or OFF to the end of the folder’s name. For example, if you’re using Twenty Eighteen and the folder is ‘twentyeighteen’, you would name it ‘twentyeighteenDISABLE’ or ‘twentyeighteenOLD’ . Go back to the front of your site and refresh.
The objective is to check whether the mistake leaves. In the event that it doesn’t, it is anything but a subject issue. Try to rename the organizer back to its unique name when you’re finished investigating.
Plugin Conflict Troubleshoot
If it’s not the theme, it might be a plugin issue. In a way, troubleshooting is similar. However, it’s much easier to rename the plugin folder to ‘pluginsOFF’. Visit the site, and log-in. This will turn off all of the plugins. Please note that it won’t remove the original settings of those plugins, as they will be there when you reactivate them later on.
Once the plugins are off, go back and rename the folder back to ‘plugins’. Go to your WordPress admin area and reactivate each, one-by-one, until you get the screen that says “There has been a critical error on your website”. The plugin that you just reactivated, is the problem.
You can either disable the plugin that caused the problem or remove it or roll it back to the previous version using the rollback plugin and wait until the developer releases a new version of the plugin.

Upload theme button don't work in wordpress

I have installed Wordpress in my Godaddy hosting.Its working quite well except i cant upload a new theme. when i click Appearance > Themes and then add new nothing shows up. The only thing that shows up are the buttons featured , most popular etc but when i click them nothing happens. When i press the upload theme button nothing happens either. How do i fix this?
I have tried it switching the default theme, deactivating all plugin but nothing resolver the problem. Godaddy support says that i will get a conformatin mail after the installation process completed within 24hours. Its almost 24hours but i haven't got any conformation mail. What can i do?? Do i really need to wait for the conformation. i can visit my blog but cant upload any theme, whats going wrong??
You can add your theme directly in your Wordpress installation. For this go to public-html/wp-content/themes/ and drop your theme folder here. Remember that your theme files must not be in subfolders of the folder e.g. /themes/your-theme/theme-files-and-folders/
Had the same issue today and solved it using these steps:
Download the Theme .zip file to your machine.
In cPanel File Manager, navigate to your Themes folder. Depending on your hosting, path to Themes folder can differ a bit but essentially you are looking for public_html inside which you’ll find /wp-content/themes/.
Once you’re inside the Themes folder in cPanel File Manager, click on Upload and upload that .zip file you saved in Step 1.
Once the .zip file is uploaded, right click on the name of that file in cPanel and select Extract from the context menu.
Now you can refresh the WordPress themes page and you should be able to Activate it.
The issue was theme related. I just renamed my current theme and then the default theme was automatically activated. Then i was able to upload my zerif lite theme and its now working fine.
I have been through this issue and i have solved it!
it happens mainly when yu transfer wordpress database from another location!
Solution:
UNinstall and deactivate all themes! delete and re install! if you cant delete the theme due to modifications, decativate the theme switch to another new theme by installing from wordpress and then reverting back to old theme!
if the problem persists: Reset server!

Plugin edit made Wordpress.org admin panel broken

So I went and edited a plugin called Huge IT portfolio and added an echo "1"; exit(); in it and now i can't access the admin panel (yet i can access the site) it just gives me the echo 1.
What can I do to revert the changes to it? I can't even paste the code anymore since i can't access it
If you can access the admin panel anymore you have a few options, they all involve accessing the website via FTP.
Rename the plugins folder (ex plugins_old), logging in now will cause all plugins to disable.
Rename the directory of your specific plugin, logging in now will cause this plugin to disable.
Download the file you edited in the WordPress dashboard, undo your edits and upload it again.

WPML blank page on submit in Wordpress

This question is related to wpml multilingual cms plugin problem (wordpress) where no solution has been found.
I have WPML 3.1.5 and Wordpress 3.9.1, and whenever I activate the plugin, every submit action (posting, saving, changing settings) is met with the blank post.php page.
Because of this, the login/logout and registration doesn't work.
Wordpress gives no error logs, Apache's own error log is empty.
It's driving me up the walls. Does anyone know what's going on?
This is happening because there is a plugin/theme with is having incompatibility. If you do not know which plugin/theme is, the best way is:
1 go to you ftp server and rename the folder /wp-content/plugins to another name
2 load wp-admin.php an go to plugin, It will show you an error message and all plugins will be disabled
3 rename back the folder to the original name /wp-content/plugins.
4 go to plugins option in wp-admin and active one by one until find which one is wrong.
5 99% the problem is because of the plugin, if it is not, try to do it with themes.
Once you get what plugin/theme is doing wrong, try to update or check if there is any error. You can debug your website enabling WP_DEBUG in wp-config.php file from you root folder.
define('WP_DEBUG', true); // false
if (WP_DEBUG) {
define('WP_DEBUG_LOG', true);
define('WP_DEBUG_DISPLAY', true);
I think the last verion of WPML is 3.1.6 . There is the link to download it to update http://ul.to/qjl85490

Wordpress Theme Compatibility Issue

I'm developing a WP theme for a client and have run into some trouble.
When my theme is activated:
I edit post or page (or several other areas), click UPDATE, PUBLISH, etc - and I get a blank white page.
When I go back, the post has been updated - so the system is working, it just isn't redirecting me back to the edit page.
Everything works fine when the default template is activated.
Thanks!!!
To trace the error set the WP_DEBUG as true
Refer : http://www.wprecipes.com/how-to-easily-enabledisable-debug-mode-in-wordpress
Change WP_DEBUG to true in wp-config.php file located in the WordPress root folder, and then you will be able to see the errors that are coming up. Fixing those errors will resolve your problem.

Resources