During Backdrop Office Hours we were trying to run the d2b module. During the core module update, we encountered this error.
Fatal error: Uncaught Error: Undefined constant "ENTITY_PLUS_CUSTOM" in /home/bpsal/public_html/backdrop.bps-al.org/modules/search_api/search_api.module:2862 Stack trace: #0 /home/bpsal/public_html/backdrop.bps-al.org/modules/search_api/contrib/search_api_views/views/search_api_views.views.inc(255): search_api_index_load_multiple(false) #1 /home/bpsal/public_html/backdrop.bps-al.org/core/modules/views/includes/utility.inc(459): search_api_views_views_plugins() #2 /home/bpsal/public_html/backdrop.bps-al.org/core/modules/views/includes/cache.inc(147): views_discover_plugins() #3 /home/bpsal/public_html/backdrop.bps-al.org/core/modules/views/views.module(1160): _views_fetch_plugin_data(NULL, NULL, false) #4 /home/bpsal/public_html/backdrop.bps-al.org/core/modules/views/views.module(115): views_fetch_plugin_data() #5 /home/bpsal/public_html/backdrop.bps-al.org/core/includes/theme.inc(558): views_theme(Array, 'module', 'views', 'core/modules/vi...') #6 /home/bpsal/public_html/backdrop.bps-al.org/core/includes/theme.inc(715): _theme_process_registry(Array, 'views', 'module', 'views', 'core/modules/vi...') #7 /home/bpsal/public_html/backdrop.bps-al.org/core/includes/theme.maintenance.inc(104): _theme_build_registry(Object(stdClass), Array, 'phptemplate') #8 /home/bpsal/public_html/backdrop.bps-al.org/core/includes/theme.inc(304): _theme_load_offline_registry(Object(stdClass), Array, 'phptemplate', false) #9 /home/bpsal/public_html/backdrop.bps-al.org/core/includes/theme.inc(1024): theme_get_registry(false) #10 /home/bpsal/public_html/backdrop.bps-al.org/core/includes/errors.inc(256): theme('maintenance_pag...', Array) #11 /home/bpsal/public_html/backdrop.bps-al.org/core/includes/bootstrap.inc(2993): _backdrop_log_error(Array, true) #12 [internal function]: _backdrop_exception_handler(Object(Error)) #13 {main} thrown in /home/bpsal/public_html/backdrop.bps-al.org/modules/search_api/search_api.module on line 2862
Comments
Be sure the module Entity Plus is in your Backdrop's installation /modules folder. If it is, then try enabling the Drupal 7 Entity Plus stub module in your D7 site before you upgrade.
Thanks for looking at this. Entity Plus is in the Backdrop Modules folder. Are you saying to install the Entity Plus stub module into my existing/production Drupal 7 site? I do not have the module at this time, unless it goes by a different name in Drupal 7.
Ok, I read the wiki, now it makes sense.
Thanks Argie! We were just getting started with that migration in Office Hours, and were getting close, but ran into that error.
We will keep going on this next week. Glad to have your eyes on this!