What could be causing the conflict between the "ToastMessage" and "Ingrid" plugins when including a script in PHP?

The conflict between the "ToastMessage" and "Ingrid" plugins when including a script in PHP could be due to naming conflicts or incompatible code within the plugins. To solve this issue, you can try renaming the conflicting functions or variables in one of the plugins to avoid clashes. Additionally, ensure that the plugins are compatible with each other and do not have conflicting dependencies.

// Include the ToastMessage plugin
require_once('toastmessage.php');

// Include the Ingrid plugin
require_once('ingrid.php');

// Rename conflicting functions or variables in one of the plugins
// For example, rename the showMessage function in ToastMessage plugin
function toastMessage_showMessage($message) {
    // Function implementation
}

// Use the renamed function in the code where necessary
toastMessage_showMessage("Hello, world!");