Support » Plugin: WP-Piwik » Causes issues with MU & Domain Mapping

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author braekling

    (@braekling)

    domain_mapping.php, line 173 contains

    $wpdb->query( $wpdb->prepare( "DELETE FROM {$wpdb->dmtable} WHERE domain = %s", $domain ) );

    A lot of questions to get behind this:

    I’m not sure if this message is caused by WP-Piwik? Maybe a recursion is used there by the domain_mapping plugin?

    Did you have a look at this one: http://stackoverflow.com/questions/8656089/solution-for-fatal-error-maximum-function-nesting-level-of-100-reached-abor ?

    What is the domain_mapping plugin expected to do in this context?

    This evening I’ll try to install the mapping plugin at my development system. Maybe I can reconstruct your issue.

    I do not have xdebug configured on that system, nor do we use Zend.
    Turns out the domain mapping module wasn’t even needed for this site, but disabled the mapping didn’t change a thing.

    I presume that the 100 nested functions stems from the fact that we have over 45 sites in our piwik installation, making the plugin do 45 times

    [...]
    [Thu Feb 07 17:51:48 2013] [error] [client 192.168.97.1] PHP  34. wp_piwik->callPiwikAPI() /var/www/wp.domain.tld/wp-content/plugins/wp-piwik/wp-piwik.php:867, referer: http://subdomain.domain.tld/wp-admin/options-general.php?page=wp-piwik/wp-piwik.php
    [Thu Feb 07 17:51:48 2013] [error] [client 192.168.97.1] PHP  35. wp_piwik->addPiwikSite() /var/www/wp.domain.tld/wp-content/plugins/wp-piwik/wp-piwik.php:968, referer: http://subdomain.domain.tld/wp-admin/options-general.php?page=wp-piwik/wp-piwik.php
    [...]

    ..but that’s just a wild guess.
    And before that we have:

    [Thu Feb 07 17:51:48 2013] [error] [client 192.168.97.1] PHP   7. wp_piwik->__construct() /var/www/wp.domain.tld/wp-content/plugins/wp-piwik/wp-piwik.php:1474, referer: http://subdimain.domain.tld/wp-admin/options-general.php?page=wp-piwik/wp-piwik.php
    [Thu Feb 07 17:51:48 2013] [error] [client 192.168.97.1] PHP   8. wp_piwik->applySettings() /var/www/wp.domain.tld/wp-content/plugins/wp-piwik/wp-piwik.php:162, referer: http://subdimain.domain.tld/wp-admin/options-general.php?page=wp-piwik/wp-piwik.php

    I could probably send you the complete traceback though.

    Plugin Author braekling

    (@braekling)

    Thank you for sending your trackback.

    I’ll try to figure this out.

    Plugin Author braekling

    (@braekling)

    I currently reduce the function calls and try to optimize the plugin’s “overall behavior”, too. The changes will be released in 0.9.8.1 soon.

    Plugin Author braekling

    (@braekling)

    Please try 0.9.8.1 – I hope this will solve your issue.

    Plugin Author braekling

    (@braekling)

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Causes issues with MU & Domain Mapping’ is closed to new replies.