2015-02-08 117 views
0

我從Github下載了這個出租車預訂插件,但是當我嘗試在wordpress上激活它時,我得到一個致命錯誤,它不讓我激活它。你可以找到https://github.com/mbejda/TaxiCabBookingSystemWordPress插件致命錯誤

Fatal error: Uncaught exception 'Braintree_Exception_Configuration' with message 'merchantIdneeds to be set' in /Applications/MAMP/htdocs/DocklandsTaxi/wp-content/plugins/TaxiCabBookingSystem-master/lib/Braintree/Configuration.php:117 Stack trace: #0 /Applications/MAMP/htdocs/DocklandsTaxi/wp-content/plugins/TaxiCabBookingSystem-master/lib/Braintree/Configuration.php(139): Braintree_Configuration::get('merchantId') #1 /Applications/MAMP/htdocs/DocklandsTaxi/wp-content/plugins/TaxiCabBookingSystem-master/lib/Braintree/Configuration.php(157): Braintree_Configuration::setOrGet('merchantId', NULL) #2 /Applications/MAMP/htdocs/DocklandsTaxi/wp-content/plugins/TaxiCabBookingSystem-master/modules/BookingSystemBrainTreeModule.php(32): Braintree_Configuration::merchantId(NULL) #3 /Applications/MAMP/htdocs/DocklandsTaxi/wp-content/plugins/TaxiCabBookingSystem-master/main.php(177): BookingSystemBrainTreeModule->__construct(Object(BookingSystem)) #4 /Applications/MAMP/htdocs/DocklandsTaxi/wp-content/plugins/TaxiCabBookingSystem-maste in /Applications/MAMP/htdocs/DocklandsTaxi/wp-content/plugins/TaxiCabBookingSystem-master/lib/Braintree/Configuration.php on line 117 

任何幫助的插件來獲得這個解決將不勝感激。

更新於2月8日星期日@ 8:18 pm。 我已經添加上的configuration.php商家ID它給了我同樣的錯誤,我認爲,如果不一樣,那麼很simular

Fatal error: Uncaught exception 'Braintree_Exception_Configuration' with message 'publicKeyneeds to be set' in /Applications/MAMP/htdocs/DocklandsTaxi/wp-content/plugins/TaxiCabBookingSystem-master/lib/Braintree/Configuration.php:117 Stack trace: #0 /Applications/MAMP/htdocs/DocklandsTaxi/wp-content/plugins/TaxiCabBookingSystem-master/lib/Braintree/Configuration.php(139): Braintree_Configuration::get('publicKey') #1 /Applications/MAMP/htdocs/DocklandsTaxi/wp-content/plugins/TaxiCabBookingSystem-master/lib/Braintree/Configuration.php(162): Braintree_Configuration::setOrGet('publicKey', NULL) #2 /Applications/MAMP/htdocs/DocklandsTaxi/wp-content/plugins/TaxiCabBookingSystem-master/modules/BookingSystemBrainTreeModule.php(33): Braintree_Configuration::publicKey(NULL) #3 /Applications/MAMP/htdocs/DocklandsTaxi/wp-content/plugins/TaxiCabBookingSystem-master/main.php(177): BookingSystemBrainTreeModule->__construct(Object(BookingSystem)) #4 /Applications/MAMP/htdocs/DocklandsTaxi/wp-content/plugins/TaxiCabBookingSystem-master/ma in /Applications/MAMP/htdocs/DocklandsTaxi/wp-content/plugins/TaxiCabBookingSystem-master/lib/Braintree/Configuration.php on line 117 

問候

+0

您是否嘗試設置商家ID? – TZHX 2015-02-08 18:55:57

+0

不,我真的不熟悉wordpress插件,我會放什麼? – user2398888 2015-02-08 18:57:55

+0

你的錯誤,布倫特裏商人身份證將是首先嚐試的最明顯的事情。 – TZHX 2015-02-08 19:04:28

回答

0

你看了錯誤消息輸出...它說

消息 'MERCHANTID需要設置' 在 /Applications/MAMP/htdocs/DocklandsTaxi/wp-content/plugins/TaxiCabBookingSystem-master/lib/Braintree/Configuration.php

[更新] 也檢出https://www.braintreepayments.com/docs/php

+0

嗨我已添加商家ID,現在我收到類似的消息,請閱讀原始帖子,因爲錯誤太長,無法在此適用 – user2398888 2015-02-08 20:13:04

+0

您應該查看braintreepayment文檔以確保您已設置了所有內容正確https://www.braintreepayments.com/docs/php – lukesUbuntu 2015-02-08 20:14:58