Skip to content
This repository has been archived by the owner on Nov 26, 2024. It is now read-only.

Call to undefined function SEOstats\Config\env() #146

Open
fbarrento opened this issue Dec 16, 2016 · 4 comments
Open

Call to undefined function SEOstats\Config\env() #146

fbarrento opened this issue Dec 16, 2016 · 4 comments

Comments

@fbarrento
Copy link

I get this error when trying to access the GooglePageSpeesAnalysis

@merajsiddiqui
Copy link

$dotenv = new Dotenv\Dotenv('path to your .env'); $dotenv->load(); function env($config, $default) { $config_value = getenv($config); if(is_string($config_value) && (strlen(trim($config_value)) > 0)) { return $config_value; } else { return $default; } }

All you need to write this code where you are calling the Google Page Speed Analysis

@barryvdh
Copy link
Contributor

Fix in #150

@fnagel
Copy link

fnagel commented Mar 16, 2017

Same issue here.

@aw73
Copy link

aw73 commented Mar 31, 2017

Same issue with examples : get-mozscape-metrics.php or get-google-pagespeed-analysis.php

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants