Snapshot + Multi-DB Error

Hi,

When I try to do a backup I get this error:

Unknown: errno:8 Use of undefined constant DATACENTER - assumed 'DATACENTER' ***/public_html/wp-content/db.php on line 287

Regards,
Thomas

  • Paul

    @Tomasz, The file from the referenced error is not part of the Snapshot plugin files. So my assumption is this is related to your Multi-DB setup.

    Can you open the file and let me know what line 287 reads?

    Normally this PHP error is related to a PHP array element that does not have proper quotes for the item key. Meaning the array element is written like

    some_array[DATACENTER] instead of some_array[DATACENTER]

    Then again since DATACENTER is all uppercase this usually implies a defined constant. Might be helpful to have the entire file. Can you send to paul [at] incsub.com

  • Kimberly

    Hi!

    Just checking in :slight_smile:

    I'm guessing that because we haven't heard back from you that you've got your issue worked out via live chat or email, or that we have reached the end of our convo here. If you are still having problems or need any other answers on this particular topic please feel free to come back to this thread at anytime. Just be sure to mark it Not Resolved so we don't miss it!

    This ticket is only being Resolved due to lack of activity. It is by no means an action to avoid, brush off or minimize your issue. We are ready and here if you want to re-open at any time and I apologize in advance for any lack of communication if this ticket is being closed in error.

    Thanks for being part of the WPMU DEV Community!

    Best,
    Kimberly

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.