facebookarchive / Facebook-For-OpenCart

Facebook Ads integration with OpenCart
Other
72 stars 54 forks source link

"500 - Internal Server Error" on cart page #451

Closed hongyiu closed 4 years ago

hongyiu commented 4 years ago

Webstore Url https://www.eeconshop.com/

FBE plugin version 3.1.0

OpenCart version 3.0.3.2

Describe the bug "500 - Internal Server Error" on cart page after upgrade to FBE 3.1.0

To Reproduce Steps to reproduce the behavior: go to below link: https://www.eeconshop.com/index.php?route=checkout/cart https://www.eeconshop.com/index.php?route=checkout/checkout

Screenshots

螢幕截圖 2020-07-30 下午4 30 01

Desktop (please complete the following information):

Additional context Add any other context about the problem here.

dtying commented 4 years ago

Thanks @hongyiu. Are you able to access your webserver and find the detailed exception from your error log?

samanoudi commented 4 years ago

Same issue here. When I disable the extension carts is working fine https://www.el-wafaa.com/index.php?route=checkout/cart

FBE plugin version 3.1.0 Opencart Version 3.0.3.2

Will provide you with server logs as soon logs will get updated

sefasaid commented 4 years ago

same here 2020-08-08 14:42:59.043120 [NOTICE] [4041456] [188.119.61.215:33639-Q:20650CA7014B5D85-91#APVH_www.xxx.com.tr:443] [STDERR] PHP Catchable fatal error: Argument 1 passed to FacebookAds\CrashReporter::buildParamsFromException() must be an instance of Throwable, instance of ErrorException given, called in /home/xxx/domains/xxxx.com.tr/public_html/system/library/vendor/facebook/php-business-sdk/src/FacebookAds/CrashReporter.php on line 146 and defined in /home/xx/domains/xxxx.com.tr/public_html/system/library/vendor/facebook/php-business-sdk/src/FacebookAds/CrashReporter.php on line 167

hongyiu commented 4 years ago

Thanks @hongyiu. Are you able to access your webserver and find the detailed exception from your error log?

sorry i do not know how to but the problem resolved after FBE downgraded to other version

dtying commented 4 years ago

Hi @hongyiu, as Facebook Graph API doesn't support HTTP2, it has caused issue in your webpage (which is on HTTP2). https://developers.facebook.com/docs/graph-api/using-graph-api/

Screen Shot 2020-08-25 at 10 49 21 AM

You may downgrade to v3.0.1 to continue use. https://github.com/facebookincubator/Facebook-For-OpenCart/tags