wpsnoop: fix moodlight plugin conflicts, errors & issues

When the plugin moodlight 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 moodlight, plus learn which plugins and/or themes could be in conflict with moodlight.


Troubleshooting theme and plugin conflicts is easier when you know what moodlight 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 moodlight

Get professional support for moodlight here

When you need professional help with WordPress: get help here


What does moodlight version 1.0.3-2 add to WordPress? Answers Here.

This is an automatically generated report - it is possible for moodlight to perform differently in your installation, previous versions before 1.0.3-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.0.3-2 of moodlight 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 moodlight 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.

Which new files does moodlight add to WordPress?

This section will populate with a table showing an icon, size and filepath.

Type & Path Size Conflicts
wp-content/plugins/moodlight/ 268.20kB No known conflicts with other themes or plugins.
wp-content/plugins/moodlight/css/ 909.00B No known conflicts with other themes or plugins.
wp-content/plugins/moodlight/css/moodlight.css 909.00B No known conflicts with other themes or plugins.
wp-content/plugins/moodlight/language/ 12.12kB No known conflicts with other themes or plugins.
wp-content/plugins/moodlight/language/moodlight-en_US.mo 2.94kB No known conflicts with other themes or plugins.
wp-content/plugins/moodlight/language/moodlight-en_US.po 2.87kB No known conflicts with other themes or plugins.
wp-content/plugins/moodlight/language/moodlight-fr_FR.mo 3.19kB No known conflicts with other themes or plugins.
wp-content/plugins/moodlight/language/moodlight-fr_FR.po 3.12kB No known conflicts with other themes or plugins.
wp-content/plugins/moodlight/LICENSE 17.57kB No known conflicts with other themes or plugins.
wp-content/plugins/moodlight/moodlight-en_US.mo 2.94kB No known conflicts with other themes or plugins.
wp-content/plugins/moodlight/moodlight-fr_FR.mo 3.19kB No known conflicts with other themes or plugins.
wp-content/plugins/moodlight/moodlight.php 26.04kB No known conflicts with other themes or plugins.
wp-content/plugins/moodlight/readme.txt 2.08kB No known conflicts with other themes or plugins.
wp-content/plugins/moodlight/screenshot-1.png 53.50kB No known conflicts with other themes or plugins.
wp-content/plugins/moodlight/screenshot-2.png 13.24kB No known conflicts with other themes or plugins.
wp-content/plugins/moodlight/screenshot-3.png 100.18kB No known conflicts with other themes or plugins.
wp-content/plugins/moodlight/screenshot-4.png 36.46kB No known conflicts with other themes or plugins.

Which new shortcodes does moodlight add to WordPress?

Which new database tables are created by the WordPress plugin moodlight?

Which new options are added to the wp-options table by moodlight?

Option Name   Known Conflicts
moodlight_comment_neg The moodlight_comment_neg option doesn't have any known conflicts with other themes or plugins.
moodlight_comment_neu The moodlight_comment_neu option doesn't have any known conflicts with other themes or plugins.
moodlight_comment_pos The moodlight_comment_pos option doesn't have any known conflicts with other themes or plugins.
moodlight_post_eval The moodlight_post_eval option doesn't have any known conflicts with other themes or plugins.
moodlight_version The moodlight_version option doesn't have any known conflicts with other themes or plugins.

During use moodlight 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 moodlight declare when it is active?

Function   Conflicts Common Errors
rgb2hex 5 conflicts Fatal error: Cannot redeclare rgb2hex()
avg2color 0 conflicts Fatal error: Cannot redeclare avg2color()
colors2div 0 conflicts Fatal error: Cannot redeclare colors2div()
moodlight 0 conflicts Fatal error: Cannot redeclare moodlight()
moodlight_all_active 0 conflicts Fatal error: Cannot redeclare moodlight_all_active()
moodlight_all_posts 0 conflicts Fatal error: Cannot redeclare moodlight_all_posts()
moodlight_css 0 conflicts Fatal error: Cannot redeclare moodlight_css()
moodlight_init 0 conflicts Fatal error: Cannot redeclare moodlight_init()
moodlight_init_l10n 0 conflicts Fatal error: Cannot redeclare moodlight_init_l10n()
moodlight_install 0 conflicts Fatal error: Cannot redeclare moodlight_install()
moodlight_is_post_active 0 conflicts Fatal error: Cannot redeclare moodlight_is_post_active()
moodlight_menu 0 conflicts Fatal error: Cannot redeclare moodlight_menu()
moodlight_mood 0 conflicts Fatal error: Cannot redeclare moodlight_mood()
moodlight_note 0 conflicts Fatal error: Cannot redeclare moodlight_note()
moodlight_options 0 conflicts Fatal error: Cannot redeclare moodlight_options()
moodlight_ping 0 conflicts Fatal error: Cannot redeclare moodlight_ping()
moodlight_post 0 conflicts Fatal error: Cannot redeclare moodlight_post()
moodlight_post_active 0 conflicts Fatal error: Cannot redeclare moodlight_post_active()
moodlight_posts 0 conflicts Fatal error: Cannot redeclare moodlight_posts()
moodlight_stats_id 0 conflicts Fatal error: Cannot redeclare moodlight_stats_id()
moodlight_update_enable 0 conflicts Fatal error: Cannot redeclare moodlight_update_enable()
moodtpl_add_comment 0 conflicts Fatal error: Cannot redeclare moodtpl_add_comment()
moodtpl_comment 0 conflicts Fatal error: Cannot redeclare moodtpl_comment()
moodtpl_comment_color 0 conflicts Fatal error: Cannot redeclare moodtpl_comment_color()
moodtpl_post 0 conflicts Fatal error: Cannot redeclare moodtpl_post()
moodtpl_post_chart 0 conflicts Fatal error: Cannot redeclare moodtpl_post_chart()
moodtpl_post_color 0 conflicts Fatal error: Cannot redeclare moodtpl_post_color()
moodtpl_post_note 0 conflicts Fatal error: Cannot redeclare moodtpl_post_note()
moodtpl_post_percent 0 conflicts Fatal error: Cannot redeclare moodtpl_post_percent()

Using moodlight 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 moodlight from the command line with WP-CLI

Navigate to the root of your WordPress installation and type the following command:

wp plugin install moodlight


How to activate moodlight from the command line with WP-CLI

To immediately activate moodlight after WP-CLI downloads the latest version you can use the following command:

wp plugin install moodlight --activate


How to reinstall moodlight from the command line with WP-CLI

To force a reinstallation of moodlight which overwrites the current plugin without asking for confirmation you can use the following command:

wp plugin install moodlight --force


How to update moodlight to the latest version from the command line with WP-CLI

wp plugin update moodlight


How to delete moodlight from the command line with WP-CLI

wp plugin delete moodlight

Where can you download earlier versions of moodlight?

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 moodlight 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 moodlight

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 moodlight. Different versions of WordPress could implement the features of this plugin in slightly different ways as well.