Activation
-
Hi Bas,
Your plugin seems to be exactly what I was looking for. The plugin can’t be activated on my site though. Any ideas how to fix it?
Nice blog you have btw 🙂
Plugin could not be activated because it triggered a fatal error.
process_update(); $updated = true; } $config = get_option(“lsd_gme_config”); if (is_null($config) || $config == ”) { $config = array(); } if ($updated) { $html .= ‘
‘.__(‘Settings saved.’,’lsd-gme’).’
‘; } $html .= ‘
‘.__(‘LSD Google Maps Embedder Options’, ‘lsd-gme’).’To retrieve your API key:
1. Visit the APIs Console at https://code.google.com/apis/console and log in with your Google Account.
2. Click the Services link from the left-hand menu.
3. Activate the Google Maps Embed API service.
4. Click the API Access link from the left-hand menu. Your API key is available from the API Access page, in the Simple API Access section. Maps API applications use the Key for browser apps.
‘; $html .= ‘ ‘; $html .= ‘
Google Maps APIYour API key looks something like this: AIzaSyCwI3k7JC29_KzlX1S_bC8fARpocLX5bRY
‘; echo $html; } private function process_update() { update_option(‘lsd_gme_config’,$_POST[‘config’]); } }
Fatal error: Class ‘lsd_gme_options’ not found in /var/www/html/wp-content/plugins/lsd-google-maps-embedder/lsd-google-maps.embedder.php on line 20
- The topic ‘Activation’ is closed to new replies.