WordPress.org

Ready to get started?Download WordPress

Forums

podPress
podpress: couldn't 'find constant MULTISITE (2 posts)

  1. cecilporter
    Member
    Posted 4 years ago #

    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

    http://wordpress.org/extend/plugins/podpress/

  2. ntm
    Member
    Plugin Author

    Posted 4 years ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic