1. You should NEVER work on a live site
Just setup a local installation of WAMP or MAMP and do your testing there. This has a lot of benefits:
- You can’t break a live site
- You don’t need to upload changed files
- It runs faster as everything is local and doesn’t go trough the internet
2. Debugging
First you could enable debug in config.php
define('WP_DEBUG', true);
This will give you a lot more information what went wrong if something goes wrong.
There also is a lot more info in the WordPress Codex on Debugging in WordPress
Related Posts:
- How do you debug plugins?
- How can I see all the actions attached to an “add_action” hook?
- How to eliminate weird 404 errors in wp-admin?
- Is there any debug toolbar that shows whick hooks are called for the current page in WordPress?
- $wpdb->get_results leaking memory
- How to remove/hide action links cluttering under specific plugins’ names
- How to use WP-FirePHP extension?
- Integrating WP as a CMS with a Bug Tracker
- How to see list of plugins
- Enable/Disable WP options programmatically
- Can wp_script_is used in pluginA check if a script is being enqueued/registered from pluginB?
- Plugin could not be activated because it triggered a fatal error. (No Error??)
- How to implement Sentry on WordPress? [closed]
- Why do plugins that cause ‘unexpected output’ create AJAX problems?
- how to find and correct plugin query performance issues
- Problem In Advance search Plugin [closed]
- Unable to get WP_DEBUG, WP_DEBUG_DISPLAY, WP_DEBUG_LOG to work
- Problem installing plugin: unexpected T_STRING, expecting T_FUNCTION
- Preview with Custom Post Type Not Working
- Why is adoptStyles-css stylesheet link added to every page?
- Access “wp site health info” data from plugin
- WordPress website working fine on localhost but not displaying front pages on webhost
- Need Help Understanding Debug Log Errors
- What is the correct entry point for capturing coverage data
- Plugin debugging with errors in activation routine
- Plugins effecting layout & login
- True or False: Is an Apache error or PHP error the same as a WordPress error?
- In WordPress, after installing “Pie Register” plugin, admin permission is GONE! [closed]
- AI Code For OpenAI
- WordPress Throwing Deprecated Errors on its own Files
- Hide wordpress plugins from list
- WordPress plugin from own server
- How to avoid plugin name conflicts from the upgrade notifier?
- Remove WordPress Toolbar buttons
- Adding unit ammount after WooCommerce price. Example $ 24 /m2 and $24 / m
- Can a plugin cause permanent damage?
- Moving image attachment from post to another?
- Under which circumstances is the .maintenance file not deleted?
- Autoload via composer in plugin interference
- WordPress plugin form not saving data
- wp_mail attachment not working
- Plugin exceeds memory limit
- Plugin Paths Issue
- Woocommerce plugin for minimum order and add-to-card-step
- UnInstallation of a Plugin from a developers perspective – The correct and clean method
- Load custom PHP on a custom URL via a plugin
- WordPress Settings Lost After Site Migration
- How to put JQuery/Ajax inside shortcode?
- Restrict media upload size by format
- Two problems on my WordPress installation [closed]
- WordPress Widget Not Saving Data
- Center and hide overflow of WP toolbar custom links
- options creation for plugins
- Users are being redirected to main site when trying to register on subsite of my Multisite network
- Slider/text combination plugin
- How to disable a widget when dependent plugin is inactive?
- First plugin, problem with get_pages
- eLearning Module
- adding Adsense’s In-Article Ads between images of blog post
- Export postmeta (custom fields)
- Customizing a blog page layout
- Sub Plugin deactivation when Parent Plugin deactivate
- what is the point of telling add_filter how many parameters you want passed to the function?
- Trying to get property of non-object wordpress error message
- Advertising: Every page refresh counts as 3 ad impressions
- Google Maps with categories
- Trying to extend a plugin’s functionality
- WordPress Cache delete on plugin uninstall
- How to create repeater field manually, without plugin (ACF Pro)?
- Should I use the action in the plugin’s main file?
- Woocommerce checkout page broken when set as a checkout in woocommerce settings [closed]
- WpForms email notification displays the shortcode as variable instead of value
- How to create a folder in wordpress that will contain pages?
- Ajax Call not Working in Plugin
- Ayuda con este error: Failed to load plugin url: https://degranero.es/wp-content/plugins/easy-columns/tinymce/langs/es.js
- Store GravityForm data in phpmyadmin (mysql)
- How to remove WordPress Default Comment? not Facebook
- Try to debug a plug-in written by someone else
- Call function with button and return response
- updraft plus migrator problem [duplicate]
- plugin operation launch every time i click on page
- Can I retain custom taxonomy data when uninstalling a third-party plugin that created it?
- Related post based on 2 categories
- Coming soon pages with rest of site in maintenance mode
- How to markup wordpress site using Schema.org?
- Execute certain function on GET request
- White screen and can’t activate themes and plugins
- Unfortunately removed myself as plugin committer
- Category archive in menu
- WordPress filter function using query modifications
- Trying to override/intercept a PhotoMosaic gallery link in WordPress using jQuery
- How can I Customize My WordPress Admin Dashboard into Dark Mode?
- Add custom fields in the new and edit the site forms without touching the WP core
- Plugin use of ajax/jquery depending dropdown
- Remove on behalf of in wordpress emails?
- Plugin problem. Question is not appearing.
- Create Landing Page With Login or Subscribe Form [duplicate]
- Embed php code in custom field of a plugin [closed]
- How to make a rest style plugin?
- Sorting/Ordering Poll Plugin?