doofinder / doofinder-magento2

Open Software License 3.0
10 stars 9 forks source link

Fatal Error: Uncaught Error: Call to member function getResults() on null #130

Closed ecompleteClem closed 4 years ago

ecompleteClem commented 4 years ago

Latest codebase 0.4.3 M2.3.5-p1

Fatal error: Uncaught Error: Call to a member function getResults() on null in vendor/doofinder/doofinder-magento2/Helper/Search.php:99 Stack trace: #0

ecompleteClem commented 4 years ago

We have put our API key and all of that into the extension, if we visit a category page / search for anything this appears.

ecompleteClem commented 4 years ago
502 Bad Gateway

502 Bad Gateway


nginx

. Statistics: {"sum":0,"count":1,"realmem":0,"emalloc":0,"realmem_start":209977344,"emalloc_start":193197072} [] [] [2020-09-01 12:47:44] main.CRITICAL: Server error:

502 Bad Gateway

502 Bad Gateway


nginx

{"exception":"[object] (Doofinder\Api\Management\Errors\WrongResponse(code: 0): Server error:

502 Bad Gateway

<body bgcolor=\"white\">

502 Bad Gateway


nginx

carlosescri commented 4 years ago

Hi @ecompleteClem. That seems to be a problem in the API side, not in the code. In these cases is better to contact support to see if there's an error in the service. Thanks for reporting.

ecompleteClem commented 4 years ago

Hi Carlos,

I have contacted Doofinder support and they said it's a conflict between Mirasvit Layered Navigation and the Doofinder Extension using the same classes. Thus the one extension fights the other extension.

carlosescri commented 4 years ago

🤦

carlosescri commented 4 years ago

Thanks for the info.