Fix issues when ElasticSearch container does not run

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Should have
    • 2.55.0
    • 3
    • Dev Tools
    • tavros

      ElasticSearch doesn't run by default on our docker-compose stack.
      This generates a few errors and misconfigurations.

      Known issues:

      • ElasticPress is still enabled, and generates periodic exceptions (visible with xdebug listening on every exception)
      • Disabling ElasticPress triggers a fatal error on search page
      Fatal error:  Uncaught Error: Class 'ElasticPress\Features' not 
      found in /app/source/public/wp-content/themes/planet4-master-theme/src/Search.php:230
      
      • Links on search page have an empty href attribute

      Tasks:

      • Fix those issues
      • Review Makefile config target to enable/disable plugin according to elastic container status

            Assignee:
            Florent Hernandez (Inactive)
            Reporter:
            Florent Hernandez (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: