Support » Plugin: WP MediaTagger » compatibility with the crius theme?

  • rforre

    (@rforre)


    Hi there,

    Just tried to activate mediatagger but it does not seem to want to coexist with the crius photo theme. Error message:

    Fatal error: Cannot redeclare html2rgb() (previously declared in /home/www/web67/html/Wordpress/wp-content/themes/crius/lib/custom.lib.php:534) in /home/www/web67/html/Wordpress/wp-content/plugins/wp-mediatagger/mediatagger-lib.php on line 223

    Can you suggest a solution or workaround?
    Thanks!

    http://wordpress.org/plugins/wp-mediatagger/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author phd38

    (@phd38)

    Hi,
    This is caused by a naming conflict between the crius photo theme and the plugin. A solution is to isolate into name spacings and object oriented encapsulation, that’s rather a big work I already started. Don’t know when will be done.

    For now you can rename the html2rgb function in your theme, where this function is called AND where it is declared (and defined).

    Plugin Author phd38

    (@phd38)

    … just to let you know – I am converting the WP MediaTagger plugin into a class to prevent this kind of trouble.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘compatibility with the crius theme?’ is closed to new replies.