Your comments state that the line in question that gives the fatal error causing your white pages is this line:
<div id="whatstrending"><h1><?php echo get_option('radio_options')['blog-header'];?></h1></div>
Most notably:
get_option('radio_options')['blog-header'];
Or more specifically:
functioncall()[]
This is invalid PHP up until recently, and your new host doesn’t run a version of PHP that supports this.
You can fix it by refactoring it from:
echo get_option('radio_options')['blog-header'];
to:
$options = get_option('radio_options');
echo $options['blog-header'];
Rinse repeat in any other situation that follows the same pattern. As a sidenote, the function()['arrayaccess']
pattern is an anti-pattern, a single line should do a single thing, and calling a function then accessing its return value is 2 things. Not to mention that it will fail if the function doesn’t return an array.
Related Posts:
- Site Redirecting to wp-signup.php
- Multisite on Windows with wildcard subdomains
- Are nested subdomains possible with a subdomain multisite?
- Querying posts from multiple sites in a network?
- is_front_page() malfunction?
- How to use alias domain for multisite installation?
- Multisite htaccess on localhost with WP as an SVN external?
- WordPress Multisite with multiple domains using Nginx
- How can I diagnose a slow WordPress admin?
- How to enable a site administrator to edit users in a WordPress network/ multisite setup?
- BLOG_ID_CURRENT_SITE vs. SITE_ID_CURRENT_SITE in WordPress Multisite?
- Turn off ms-files.php after network setup
- Opinions whether to go multisite VS 3 separate WP installation [closed]
- Multisite: differences between subdomain and subdirectory mode? Can it be switch after installation?
- Multisite – how to remove the root ‘/’ site?
- How do I fix problems with users not being able to publish and only submit for review after upgrade of Multisites installation?
- WordPress multisite with domain mapping and virtual host on local with fake domain
- Don’t allow access to wp-admin but allow admin-ajax requests to be fulfilled on frontend?
- subdomain archiving
- Full Domain Mapping with WP3 in Multiuser Mode
- Is it possible to fix/repair all Index, Primary Key, Unique (and all other) structure of a WordPress MS Database
- Copy site from one multisite to another
- add_rewrite_rule not registering on Multisite
- How to combine multiple sites to WordPress MU
- how do I configure nginx for wordpress multisite, it occurs ERR_TOO_MANY_REDIRECTS
- Installing multisite network admin on sub-domain
- How to change the database prefix in multisite (WPMU) install
- Getting blank thumbnails in media library?
- WP MU – Accessing ‘Domain-Mapped’ WP-Admin with a subdomain
- Accessing multiple sites via FTP
- Multiple homes for multiple languages [closed]
- multisite custom directory
- You do not have permission to edit this user
- Multi-site: removing /blog from posts
- Multiple install for multilanguage. How to?
- Query users by capability – uninstall/deactivate callback
- Cannot access my first sub-site in a multisite [closed]
- How to detect the context of homepage for a wordpress mu sub-blog
- Multsite redirecting to the main site
- Multisite setup help – plain domain/subsite always redirects to domain with subdir multisite
- Auto creation of multisite blog on user registration
- How to make a php script(app) accessible to all wordpress subdomains in a wordpress multisite configuration?
- Multisite with 220+ sites painfully slow
- Issues with Multisite installation and 403 error for REST API request
- How to run react app and headless WordPress and React App on same server (managed by plesk)?
- WooCommerce Multisite — importing products IN subsites FROM main site
- Efficient way to handle translations with Multisite WordPress installation
- How to disable wordpress cron jobs for a subsite?
- WordPress Mulitisite – Unable to create directory
- network site domain mapping still applied after being removed
- Can WordPress Multisite (MU) subdirectory url/slug/permalink be changed?
- Multisite Subdomain Redirect Mask
- How to use HyperDB plugin in a existing wpmu
- Add access control origin header information across multisite
- Get post by term from custom taxonomy in another blog on the network?
- Multi Network plugin: “Network not created” [closed]
- Multisite Login problem
- Https and Http Login Issue on WordPress Multisite
- How can I use different domains on a WP multisite install?
- Multisite network admin – User’s role not showing up
- WordPress Multisite Network to replace 3 seperate WordPress installations
- Is it possible to install WordPress MU on a subdomain?
- WordPress MultiSite Won’t Work on Google AppEngine
- WordPress multisite with same content
- Redirecting to page not found mulitiste
- How many .htaccess files should a WordPress multisite (subdirectory set up) have?
- Multisite and Multidomains WordPress
- mu activate / deactivate plugins in multisite network mode only
- Multisite loads assets from main site
- Is there any hook to validate google recaptcha dislayed in wp-signup page [in WordPress Multisite]
- Primary (root) blog of multisite installation forbidden (403)
- Fix nested WordPress multisite resource path?
- How do I split a single WPML site with 6 languages (English is Main) into Multisite with 5 subfolders
- WordPress Multisite with Subdomain, make the subdomain look like another domain
- How To Upload Existing WordPress Site To WordPress Multisite Using SSH
- Change header.php of a specific WordPress Multisite
- How to reconnect database to existing wordpress multisite setup after changing site name
- fatal Error undefined function switch_to_blog()
- Multisite, different domains, optional subdirectory, and htaccess
- Move two independent sites to network
- Why does defining MULTISITE true change the database connection in use
- WordPress Multisite Cron Issue
- New Site URL for Multisite
- WordPress Domain Mapping shows new domain in place but takes me to the sub domain
- How can I have different langauges in wp-admin on a multisite installation?
- Parse shortcodes from another site in WP Multisite
- Custom pages on all multisite network, to NOT show in wp-admin at all
- How to create Network of websites with separate database in WordPress
- In a MS install, can you allow different users to have their own themes?
- Install WordPress MU outside htdocs
- WordPress multidomains and subfolders
- Redirect authors from upload.php url to Home page in Multisite
- Images on WP Network’s subsite appear only if accessed via main site’s url
- WordPress Multisite platform for different city for single db
- Multisite: should /blog go to a 404 page?
- Not being allowed to use some terms in Add New Site in WordPress
- How to redirect root blog to a specific one in multilang WP?
- Create service similar to wordpress.com [closed]
- Change a subsite Admin role of a WordPress Multisite after 24 hours registering
- different image for mobile template block theme