Timeout While Upgrading Network in Multi-site

I was using WordPress Multisite for multiple TLDs. Example: domain.com another-domain.org sample-domain.net The primary site was domain.com which was a valid registered domain name with proper DNS resolution. another-domain.org and sample-domain.net had both expired domain name registrations. A/K/A – The DNS wasn’t resolving properly. If you’ve got a WordPress Multisite setup similarly to mine, where … Read more

Listing of all site options in dashboard

There is no function for that. But you can use a custom SQL query like this … SELECT meta_key, meta_value FROM $wpdb->sitemeta WHERE site_id = $wpdb->siteid AND `meta_key` NOT LIKE ‘_site_transient%’ ORDER BY meta_key … to get all non-transient options. Basic example: /** * Plugin Name: T5 Multi-Site Options * Description: Add a page to … Read more

How to add super admin to all sites

Super admins do have access to all sites, but they don’t show up in “My Sites” by default, which I imagine is where you’re looking. They’ll want to go to the network admin (/wp-admin/network/, then go to all sites from there, then find the site they want to edit and click “Dashboard” (which appears on … Read more

Network Admin “You do not have sufficient permissions to access this page.”

The easiest way to restore Super Admin privileges is to add a bit of code to your theme’s functions.php file to add yourself back: include(ABSPATH . ‘wp-admin/includes/ms.php’); $user = get_userdatabylogin(‘YOUR_USERNAME’); grant_super_admin($user->ID); Once your Super Admin privileges have been restored you can remove this code from your theme.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)