wpsnoop: fix PHP Snippets plugin conflicts, errors & issues
When the plugin PHP Snippets conflicts or throws a PHP error we hope wpsnoop can help you to fix the issue quickly.
Discover which shortcodes wp-options PHP functions database tables and files are created by PHP Snippets, plus learn which plugins and/or themes could be in conflict with PHP Snippets.
Troubleshooting theme and plugin conflicts is easier when you know what PHP Snippets leaves behind after uninstalling it from a WordPress installation, there is a list down below for your convenience.
Expert advice is recommended if you are not technically proficient with PHP, MySQL etc. View support options for PHP Snippets
When you need professional help with WordPress: get help here
What does PHP Snippets version 1.2 add to WordPress? Answers Here.
This is an automatically generated report - it is possible for PHP Snippets to perform differently in your installation, previous versions before 1.2 may have created a different set of shortcodes, used different function names or could have created entirely different database tables to store settings and operate. This is not an exhaustive list but shows how version 1.2 of PHP Snippets behaves when installed and removed on a clean installation of WordPress.
We have not tested individual shortcodes, features or settings of this plugin but instead have concentrated on the potential for obvious errors and conflicts which can occur, if you need help with the plugin in your local installation you can get WordPress help and support for PHP Snippets by clicking here.
Our testing covered the free version of this plugin there may or may not be a paid version or premium version available for purchase that unlocks additional features and could behave in a slightly or very different manner.
Summary of WordPress plugin analysis: PHP Snippets
Which new files does PHP Snippets add to WordPress?
This section will populate with a table showing an icon, size and filepath.
Type & Path | Size | Conflicts |
---|---|---|
wp-content/plugins/php-snippets/ | 199.65kB | No known conflicts with other themes or plugins. |
wp-content/plugins/php-snippets/ajax-controllers/ | 6.40kB | No known conflicts with other themes or plugins. |
wp-content/plugins/php-snippets/ajax-controllers/dir_snippets.php | 2.22kB | No known conflicts with other themes or plugins. |
wp-content/plugins/php-snippets/ajax-controllers/get_snippet_shortcode.php | 943.00B | No known conflicts with other themes or plugins. |
wp-content/plugins/php-snippets/ajax-controllers/list_directory.php | 1.27kB | No known conflicts with other themes or plugins. |
wp-content/plugins/php-snippets/ajax-controllers/list_snippets.php | 1.99kB | No known conflicts with other themes or plugins. |
wp-content/plugins/php-snippets/controllers/ | 2.88kB | No known conflicts with other themes or plugins. |
wp-content/plugins/php-snippets/controllers/settings.php | 2.88kB | No known conflicts with other themes or plugins. |
wp-content/plugins/php-snippets/css/ | 1.83kB | No known conflicts with other themes or plugins. |
wp-content/plugins/php-snippets/css/style.css | 1.83kB | No known conflicts with other themes or plugins. |
wp-content/plugins/php-snippets/images/ | 13.42kB | No known conflicts with other themes or plugins. |
wp-content/plugins/php-snippets/images/bug.png | 223.00B | No known conflicts with other themes or plugins. |
wp-content/plugins/php-snippets/images/dir.png | 1.00kB | No known conflicts with other themes or plugins. |
wp-content/plugins/php-snippets/images/forum.png | 996.00B | No known conflicts with other themes or plugins. |
wp-content/plugins/php-snippets/images/heart.png | 2.04kB | No known conflicts with other themes or plugins. |
wp-content/plugins/php-snippets/images/help.png | 1.28kB | No known conflicts with other themes or plugins. |
wp-content/plugins/php-snippets/images/php-snippet-small.png | 3.08kB | No known conflicts with other themes or plugins. |
wp-content/plugins/php-snippets/images/php-snippets-icon.png | 1.88kB | No known conflicts with other themes or plugins. |
wp-content/plugins/php-snippets/images/question-mark.gif | 643.00B | No known conflicts with other themes or plugins. |
wp-content/plugins/php-snippets/images/wiki.png | 2.33kB | No known conflicts with other themes or plugins. |
wp-content/plugins/php-snippets/includes/ | 19.11kB | No known conflicts with other themes or plugins. |
wp-content/plugins/php-snippets/includes/Ajax.php | 2.93kB | No known conflicts with other themes or plugins. |
wp-content/plugins/php-snippets/includes/Base.php | 10.39kB | No known conflicts with other themes or plugins. |
wp-content/plugins/php-snippets/includes/Snippet.php | 1.47kB | No known conflicts with other themes or plugins. |
wp-content/plugins/php-snippets/includes/Widget.php | 4.32kB | No known conflicts with other themes or plugins. |
wp-content/plugins/php-snippets/index.php | 2.25kB | No known conflicts with other themes or plugins. |
wp-content/plugins/php-snippets/js/ | 7.58kB | No known conflicts with other themes or plugins. |
wp-content/plugins/php-snippets/js/editor_plugin.js | 925.00B | No known conflicts with other themes or plugins. |
wp-content/plugins/php-snippets/js/manager.js | 6.07kB | No known conflicts with other themes or plugins. |
wp-content/plugins/php-snippets/js/widget.js | 629.00B | No known conflicts with other themes or plugins. |
wp-content/plugins/php-snippets/lang/ | No known conflicts with other themes or plugins. | |
wp-content/plugins/php-snippets/loader.php | 4.73kB | No known conflicts with other themes or plugins. |
wp-content/plugins/php-snippets/phpunit.xml | 149.00B | No known conflicts with other themes or plugins. |
wp-content/plugins/php-snippets/readme.txt | 7.31kB | No known conflicts with other themes or plugins. |
wp-content/plugins/php-snippets/screenshot-1.jpg | 45.39kB | No known conflicts with other themes or plugins. |
wp-content/plugins/php-snippets/screenshot-2.jpg | 74.24kB | No known conflicts with other themes or plugins. |
wp-content/plugins/php-snippets/snippets/ | 2.70kB | No known conflicts with other themes or plugins. |
wp-content/plugins/php-snippets/snippets/current_date.snippet.php | 253.00B | No known conflicts with other themes or plugins. |
wp-content/plugins/php-snippets/snippets/first_timers.snippet.php | 677.00B | No known conflicts with other themes or plugins. |
wp-content/plugins/php-snippets/snippets/link.snippet.php | 312.00B | No known conflicts with other themes or plugins. |
wp-content/plugins/php-snippets/snippets/test_email.php | 719.00B | No known conflicts with other themes or plugins. |
wp-content/plugins/php-snippets/snippets/time_delay.snippet.php | 803.00B | No known conflicts with other themes or plugins. |
wp-content/plugins/php-snippets/templates/ | 6.21kB | No known conflicts with other themes or plugins. |
wp-content/plugins/php-snippets/templates/default.php | 1.13kB | No known conflicts with other themes or plugins. |
wp-content/plugins/php-snippets/templates/settings.php | 3.13kB | No known conflicts with other themes or plugins. |
wp-content/plugins/php-snippets/templates/tb_setting.php | 999.00B | No known conflicts with other themes or plugins. |
wp-content/plugins/php-snippets/templates/thickbox.php | 991.00B | No known conflicts with other themes or plugins. |
wp-content/plugins/php-snippets/tests/ | 4.90kB | No known conflicts with other themes or plugins. |
wp-content/plugins/php-snippets/tests/dir1/ | 850.00B | No known conflicts with other themes or plugins. |
wp-content/plugins/php-snippets/tests/dir1/dir1.1/ | No known conflicts with other themes or plugins. | |
wp-content/plugins/php-snippets/tests/dir1/dir1.1/snag.php | No known conflicts with other themes or plugins. | |
wp-content/plugins/php-snippets/tests/dir1/README.txt | 47.00B | No known conflicts with other themes or plugins. |
wp-content/plugins/php-snippets/tests/dir1/snag.php.something | No known conflicts with other themes or plugins. | |
wp-content/plugins/php-snippets/tests/dir1/time_delay.snippet.php | 803.00B | No known conflicts with other themes or plugins. |
wp-content/plugins/php-snippets/tests/dir1/x.php | No known conflicts with other themes or plugins. | |
wp-content/plugins/php-snippets/tests/dir1/x.snippet.php | No known conflicts with other themes or plugins. | |
wp-content/plugins/php-snippets/tests/dir1/y.php | No known conflicts with other themes or plugins. | |
wp-content/plugins/php-snippets/tests/dir1/y.snippet.php | No known conflicts with other themes or plugins. | |
wp-content/plugins/php-snippets/tests/dir1/z.php | No known conflicts with other themes or plugins. | |
wp-content/plugins/php-snippets/tests/dir1/z.snippet.php | No known conflicts with other themes or plugins. | |
wp-content/plugins/php-snippets/tests/dir2/ | 401.00B | No known conflicts with other themes or plugins. |
wp-content/plugins/php-snippets/tests/dir2/badsyntax.php.off | 55.00B | No known conflicts with other themes or plugins. |
wp-content/plugins/php-snippets/tests/dir2/docblock1.php | 164.00B | No known conflicts with other themes or plugins. |
wp-content/plugins/php-snippets/tests/dir2/dockblock2.php | 130.00B | No known conflicts with other themes or plugins. |
wp-content/plugins/php-snippets/tests/dir2/goodsyntax.php | 52.00B | No known conflicts with other themes or plugins. |
wp-content/plugins/php-snippets/tests/unitTest.php | 3.67kB | No known conflicts with other themes or plugins. |
wp-content/plugins/php-snippets/uninstall.php | 572.00B | No known conflicts with other themes or plugins. |
Which new shortcodes does PHP Snippets add to WordPress?
ShortCode | Known Plugin or Theme conflicts | |
---|---|---|
[current_date] | The current_date shortcode has potential conflict with at least 1 other plugin or theme. | |
[link] | The link shortcode has potential conflicts with at least 13 other plugins or themes. | |
[first_timers] | The first_timers shortcode doesn't have any known conflicts with other themes or plugins. | |
[test_email] | The test_email shortcode doesn't have any known conflicts with other themes or plugins. | |
[time_delay] | The time_delay shortcode doesn't have any known conflicts with other themes or plugins. |
Note: We have not yet checked to see if these shortcodes work as expected in pages, posts, sidebar widgets, or when set as the page title, in content, in the excert, in menus or anywhere else within a WordPress installation. A shortcode could produce errors due to parameters added when it is used, or if the plugin is updated and the format of the shortcode has changed.
Which new options are added to the wp-options table by PHP Snippets?
Option Name | Known Conflicts | |
---|---|---|
widget_phpsnippets_widget | The widget_phpsnippets_widget option doesn't have any known conflicts with other themes or plugins. | |
During use PHP Snippets may or may not create more options depending on how the plugin is configured and depending on which other themes and plugins are active in your specific hosting environment.
What new PHP functions does PHP Snippets declare when it is active?
Using PHP Snippets from the command line with WP-CLI
The following commands are provided for convenience and should only be used if you understand how WP-CLI works. These commands refer to a single WordPress instance and may need to be modified if you are working with a Multisite installation.
How to install PHP Snippets from the command line with WP-CLI
Navigate to the root of your WordPress installation and type the following command:
How to activate PHP Snippets from the command line with WP-CLI
To immediately activate PHP Snippets after WP-CLI downloads the latest version you can use the following command:
How to reinstall PHP Snippets from the command line with WP-CLI
To force a reinstallation of PHP Snippets which overwrites the current plugin without asking for confirmation you can use the following command:
How to update PHP Snippets to the latest version from the command line with WP-CLI
How to delete PHP Snippets from the command line with WP-CLI
Where can you download earlier versions of PHP Snippets?
Whenever possible you should use the latest version of plugins and themes, however if you have recently updated and discovered that you need to install an earlier version you may be able to download other versions of PHP Snippets from the WordPress repository by visiting this link.
Please note that installing earlier versions of a theme or plugin is not generally a recommended course of action for most users and could re-introduce security, stability or other issues in PHP Snippets
About our testing enviroment
Tests were conducted using Apache 2.4.29, PHP 7.2 on Ubuntu 18.04, MySQL 5.7.33 and WordPress 5.9
It is very possible that different versions of PHP such as PHP 8.0, PHP 7.4, or PHP 7.3 could behave differently with PHP Snippets. Different versions of WordPress could implement the features of this plugin in slightly different ways as well.