一個月前,我買了一個插件(Stern Taxi Fare)。出租車計算器一直很好地運行,並且始終與Google API相關聯。在過去兩天中,當我連接時,插件可能會或可能不會使用Google API,並指示API方向中的錯誤。我打開調試模式,當它沒有連接時出現這個錯誤。斯特恩出租車票價插件 - 谷歌方向API給出錯誤
----------------------------- DEBUG ---------------- -------------
object(stdClass) #2595 (3) { ["geocoded_waypoints"]= > array(2) {
[0] => object(stdClass) #2581 (3) { ["geocoder_status"]= > string(2)
"OK" ["place_id"] => string(27)
"ChIJKSshOsWinkcRoOeL161IHgQ" ["types"] => array(2) {
[0] => string(8)
"locality" [1] => string(9)
"political"
}
}[1] => object(stdClass) #2596 (3) { ["geocoder_status"]= > string(2)
"OK" ["place_id"] => string(27)
"ChIJR9PV36Zuv4cRuh8PH2dhM6A" ["types"] => array(1) {
[0] => string(7)
"premise"
}
}
}["routes"] => array(0) {}["status"] => string(12)
"ZERO_RESULTS"
}
https: //maps.googleapis.com/maps/api/directions/json?origin=A&destination=B&key=AIzaSyAOW6tedtoxgX2VN0Qu256rriLHBJW5Vtk
----------------------------- DEBUG -----------------------------
此插件的發佈者不再支持它,似乎也有同樣的問題他們的演示頁: http://stern-taxi-fare.sternwebagency.com/fr/home/