Title: Website Down with PHP Error. Help.
Last modified: August 20, 2016

---

# Website Down with PHP Error. Help.

 *  [emzquem](https://wordpress.org/support/users/emzquem/)
 * (@emzquem)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/website-down-with-php-error-help/)
 * Hi Guys,
 * Tried to login to my site [http://www.cardiffnetball.co.uk](http://www.cardiffnetball.co.uk)
   today and had a blank screen, set the php setting to show the error and it shows
   as this:
 * Fatal error: Call to undefined method cnOptions::getGoogleMapsAPI() in /customers/
   b/0/0/cardiffnetball.co.uk/httpd.www/wp-content/plugins/connections/connections.
   php on line 1128
 * I’ve had a look in the file and can’t see what’s wrong with it. Assuming something
   has changed with Google API as I haven’t touched anything.
 * Am completely stumped on how to fix this. Please can you assist?
 * (Code in comment below, with the line in question in bold)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Thread Starter [emzquem](https://wordpress.org/support/users/emzquem/)
 * (@emzquem)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/website-down-with-php-error-help/#post-3133511)
 *     ```
       /**
       		 * Register the external JS libraries that may be enqueued in either the frontend or admin.
       		 *
       		 * @return NULL
       		 */
       		public function registerScripts()
       		{
       ```
   
 *     ```
       if ( $this->options->getGoogleMapsAPI() ) wp_register_script('cn-google-maps-api', 'http://maps.google.com/maps/api/js?sensor=false', array( 'jquery' ), CN_CURRENT_VERSION, $this->options->getJavaScriptFooter() );
       ```
   
 *     ```
       wp_register_script('jquery-gomap-min', WP_PLUGIN_URL . '/connections/js/jquery.gomap-1.3.2.min.js', array('jquery' , 'cn-google-maps-api' ), '1.3.2', $this->options->getJavaScriptFooter() );
       			wp_register_script('jquery-markerclusterer-min', WP_PLUGIN_URL . '/connections/js/jquery.markerclusterer-2.0.10.min.js', array('jquery' , 'cn-google-maps-api' , 'jquery-gomap-min' ), '2.0.10', $this->options->getJavaScriptFooter() );
   
       			wp_register_script('jquery-qtip', WP_PLUGIN_URL . '/connections/js/jquery.qtip.min.js', array('jquery'), 'nightly', $this->options->getJavaScriptFooter() );
       			wp_register_script('jquery-preloader', WP_PLUGIN_URL . '/connections/js/jquery.preloader.js', array('jquery'), '1.1', $this->options->getJavaScriptFooter() );
       			wp_register_script('jquery-spin', WP_PLUGIN_URL . '/connections/js/jquery.spin.js', array('jquery'), '1.2.5', $this->options->getJavaScriptFooter() );
       			wp_register_script('jquery-chosen-min', WP_PLUGIN_URL . '/connections/js/jquery.chosen-0.9.8.min.js', array('jquery'), '0.9.8', $this->options->getJavaScriptFooter() );
       			wp_register_script('jquery-validate' , WP_PLUGIN_URL . '/connections/js/jquery.validate.min.js', array('jquery', 'jquery-form') , '1.9.0' , $this->options->getJavaScriptFooter() );
       		}
   
       		/**
       ```
   
 *  [Shane Gowland](https://wordpress.org/support/users/thewebatom/)
 * (@thewebatom)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/website-down-with-php-error-help/#post-3133512)
 * Login with an FTP client and delete the “connections” plugin from:
 * > /customers/b/0/0/cardiffnetball.co.uk/httpd.www/wp-content/plugins/connections/
 * Your site should at least load then, but your Google Maps functionality will 
   be missing.
 *  Thread Starter [emzquem](https://wordpress.org/support/users/emzquem/)
 * (@emzquem)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/website-down-with-php-error-help/#post-3133518)
 * Et voila.
 * Thanks for quick response.
 * The site is back up.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Website Down with PHP Error. Help.’ is closed to new replies.

## Tags

 * [Google API](https://wordpress.org/support/topic-tag/google-api/)
 * [website down](https://wordpress.org/support/topic-tag/website-down/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [emzquem](https://wordpress.org/support/users/emzquem/)
 * Last activity: [13 years, 7 months ago](https://wordpress.org/support/topic/website-down-with-php-error-help/#post-3133518)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
