WordPress.org

Forums

SharDB
[resolved] php-5.4.10-1 issue (5 posts)

  1. cmdr_riker
    Member
    Posted 2 years ago #

    i've been following the instructions i downloaded for shardb.

    now, when I'm trying to install shardb-admin.php i get an interesting error message.

    Fatal error: Call-time pass-by-reference has been removed in [.......} wp-content/plugins/shardb/shardb-admin.php on line 101

    line 101 is

    $errors = shardb_migrate_site_tables( $site, $siteurl, &$wpdb, $shardb_prefix ); if( !empty( $errors ) ) {foreach( $errors as $e ) echo '<li><strong>' . $e . '</strong></li>'; break;

    i noticed that on trac theres' been some activity in the past couple of weeks... has a fix been committed to a tag? i could test it... if you wish

    bests

    Eric Tyrer

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

  2. Ron Rennick
    MultiSite Guru
    Plugin Author

    Posted 2 years ago #

    Yes, try the development version.

  3. cmdr_riker
    Member
    Posted 2 years ago #

    i exported 2.7.6

    tried to install - getting same error.

    Fatal error: Call-time pass-by-reference has been removed in /srv/www/wpms-york/public_html/wp/wp-content/plugins/shardb/shardb-admin.php on line 101

  4. cmdr_riker
    Member
    Posted 2 years ago #

    I patched it

    removed ampersands from line 101 and 125 and poof! it works

  5. Ron Rennick
    MultiSite Guru
    Plugin Author

    Posted 2 years ago #

    Thank you for reporting the line #s. The development version has been updated.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • SharDB
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags