Topic on Extension talk:PrivatePageProtection

Error: LoadBalancer.php: Invalid server index index #DB_SLAVE

1
Oldmobilix (talkcontribs)

The constant DB_SLAVE, deprecated in 1.28, has been removed. Use DB_REPLICA.


PrivatePageProtection.php

$dbr = wfGetDB( DB_SLAVE );        # OLD

$dbr = wfGetDB( DB_REPLICA );      # NEW

Reply to "Error: LoadBalancer.php: Invalid server index index #DB_SLAVE"