Code Monkey home page Code Monkey logo

Comments (13)

benjaminpick avatar benjaminpick commented on July 23, 2024

Just tried master, the error still persists.

from ext-solr.

MrPingoo avatar MrPingoo commented on July 23, 2024

Hello, i have the same problem with TYPO3 7.4 and master

from ext-solr.

benjaminpick avatar benjaminpick commented on July 23, 2024

Yes I've seen this PHP error message in other forums as well, for example: https://forum.typo3.org/index.php/t/201441/

from ext-solr.

irnnr avatar irnnr commented on July 23, 2024

Can you please try with the latest master. We added a legacy class map.

from ext-solr.

mnml89 avatar mnml89 commented on July 23, 2024

I have the same error with Typo3 6.2.15 and the solr version 3.0.1.
The error also appears with the latest master version.

#1: PHP Catchable Fatal Error: Argument 1 passed to ApacheSolrForTypo3\Solr\Domain\Model\ModuleData::setSite() must be an instance of ApacheSolrForTypo3\Solr\Site, null given, called in /typo3conf/ext/solr/Classes/Backend/SolrModule/AbstractModuleController.php on line 145 and defined in /typo3conf/ext/solr/Classes/Domain/Model/ModuleData.php line 53 (More information)

from ext-solr.

dkd-dobberkau avatar dkd-dobberkau commented on July 23, 2024

can you check with master @mnml89?

from ext-solr.

mnml89 avatar mnml89 commented on July 23, 2024

@dkd-dobberkau
As I said, I tried with both - version 3.0.1 and the master. If you mean with master the one I can find here: https://github.com/TYPO3-Solr/ext-solr (I'm new at github, sorry).
Only the lines changed from 50 to 53 and 141 to 145, but the error message is the same.

from ext-solr.

mnml89 avatar mnml89 commented on July 23, 2024

Hello guys,

after I installed the newest master and checked my connection configuration for solr again, the extension works fine with the current master version and Typo3 6.2.15. I guess yesterday it was a cache thing.

Thanks

from ext-solr.

irnnr avatar irnnr commented on July 23, 2024

@benjaminpick @julianBob please provide feedback whether this issue has been solved for you.

from ext-solr.

benjaminpick avatar benjaminpick commented on July 23, 2024

After uploading the master version & clearing the Cache, the error is still there. I had to click "Initizialize Solr connections" and then the search page appears correctly.

So yes the issue is resolved but if possible, test if null and show a notice that hints for possible causes (did you click on Initizalize Solr Connection? etc.)

from ext-solr.

timohund avatar timohund commented on July 23, 2024

@benjaminpick

Hi benjamin, this should be resolved now in the latest dev-master i've checked this and added an introduction how to configure the module properly when no site is available. Can you maybe re-check and confirm? Then we can close this issue.

from ext-solr.

benjaminpick avatar benjaminpick commented on July 23, 2024

from ext-solr.

timohund avatar timohund commented on July 23, 2024

I've tested this again after upgrading ext_solr from 3.0.2 to 3.1.0 and now everything is fine.

from ext-solr.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.