• Hi,

    after updating both plugins today i got an incompatibility from code-snippets with my-custom-css. In error.log i got:

    
    Got error 'PHP message: PHP Fatal error:  Cannot redeclare get_snippets() (previously declared in /var/www/clients/client5/web33/web/wp-content/plugins/code-snippets/php/snippet-ops.php:21) in /var/www/clients/client5/web33/web/wp-content/plugins/my-custom-css/modules/custom-php/php/snippet-ops.php on line 59\n'

    I moved the code-snippets-directory out of the plugin-directory and the web works again without an error.

    Solution for this might be that every plugin use function-names with its own plugin-name as prefix. As long as this is not done i cannot use one of this plugins in my projects :/

  • The topic ‘Incompatibility with custom-snippets’ is closed to new replies.