Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Development Mode and JP Search Widget causes a fatal error #10632

Closed
htdat opened this issue Nov 15, 2018 · 0 comments
Closed

Development Mode and JP Search Widget causes a fatal error #10632

htdat opened this issue Nov 15, 2018 · 0 comments
Labels
[Feature] Offline Mode aka Development Mode or Debug Mode [Feature] Search For all things related to Search [Pri] Low [Type] Bug When a feature is broken and / or not performing as intended

Comments

@htdat
Copy link
Member

htdat commented Nov 15, 2018

Steps to reproduce the issue

  1. On a JP Pro site, enable "Search".
  2. Add a JP search widget.
  3. Put the site in the development mode - https://jetpack.com/support/development-mode/
  4. See the front-end.

What I expected

No error.

What happened instead

A fatal error.

PHP Fatal error: Uncaught Error: Class 'Jetpack_Search_Template_Tags' not found in /wordpress/plugins/jetpack/6.7/modules/widgets/search.php:324

@htdat htdat added [Feature] Offline Mode aka Development Mode or Debug Mode [Pri] Low [Feature] Search For all things related to Search labels Nov 15, 2018
@jeherve jeherve added the [Type] Bug When a feature is broken and / or not performing as intended label Nov 15, 2018
jeherve pushed a commit that referenced this issue Dec 5, 2018
Fixes #10632 

Also adds a simple message in dev mode to indicate that Jetpack Search is not supported.

See issue for instructions.


**Proposed changelog entry**

- Fixes fatal error when Jetpack Search Widget is enabled while site is in Development Mode.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Offline Mode aka Development Mode or Debug Mode [Feature] Search For all things related to Search [Pri] Low [Type] Bug When a feature is broken and / or not performing as intended
Projects
None yet
Development

No branches or pull requests

2 participants