• WordPress Version 3.0.1
    Podpress Version 8.8.6.3

    ..upgraded from a WPMU site running a previous version of PodPress to the current versions of everything.

    I now get this warning on the PodPress “General Settings” page:

    Warning: constant() [function.constant]: Couldn’t find constant MULTISITE in /home/directory/domain.com/wp-content/plugins/podpress/podpress_admin_general_class.php on line 192

    https://www.ads-software.com/extend/plugins/podpress/

Viewing 1 replies (of 1 total)
  • Plugin Author ntm

    (@ntm)

    Interesting, isn’t it necessary to define this constant in WP 3.x to have an multi site blog?

    Anyway, the next version of podPress will test for the existence of this constant and avoid this warning.
    The line 192 in the podpress_admin_general_class.php
    old:

    if ( TRUE === constant('MULTISITE') AND function_exists('get_blog_count') ) {

    should better be:
    new:

    if ( TRUE === defined('MULTISITE') AND TRUE === constant('MULTISITE') AND function_exists('get_blog_count') ) {

    Thanks for the report!

    The general settings page and the rest of podPress should work despite this warning.

    Regards,
    Tim

Viewing 1 replies (of 1 total)
  • The topic ‘podpress: couldn't 'find constant MULTISITE’ is closed to new replies.