Installed the module via composer, set up and configured the view.

Noticed that when I attempt to go into settings, nothing happens. Tried drush cr/updb/entup to make sure nothing obvious was the issue. Checked the server logs:

NOTICE: PHP message: Error: Call to undefined function Drupal\fullcalendar_view\Plugin\views\style\taxonomy_vocabulary_get_names() in /app/modules/contrib/fullcalendar_view/src/Plugin/views/style/FullCalendarDisplay.php on line 272 #0 /app/core/modules/views/src/Plugin/views/display/DisplayPluginBase.php(1670): Drupal\fullcalendar_view\Plugin\views\style\FullCalendarDisplay->buildOptionsForm(Array, Object(Drupal\Core\Form\FormState))
#1 /app/core/modules/views/src/Plugin/views/display/PathPluginBase.php(435): Drupal\views\Plugin\views\display\DisplayPluginBase->buildOptionsForm(Array, Object(Drupal\Core\Form\FormState))
#2 /app/core/modules/views/src/Plugin/views/display/Page.php(239): Drupal\views\Plugin\views\display\PathPluginBase->buildOptionsForm(Array, Object(Drupal\Core\Form\FormState))
#3 /app/core/modules/views_ui/src/Form/Ajax/Display.php(74): Drupal\views\Plugin\views\display\Page->buildOptionsForm(Array, Object(Drupal\Core\Form\FormState))
#4 [internal function]: Drupal\views_ui\Form\Ajax\Disp...

Output looks something like this:
output

Any ideas?

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

adamsm185 created an issue. See original summary.

Ewout Goosmann’s picture

This error occurs when you have enabled the Full Calender Format as view format, but don't have the Taxonomy module (from core) enabled. This happens because the function "taxonomy_vocabulary_get_names()" is called in "/src/Plugin/views/style/FullCalendarDisplay.php". This function comes from the Taxonomy module.

The Taxonomy module should be added as a dependency to the Fullcalendar View module.

Mukesh Kumar Bharti’s picture

I have created a full Calendar. The result is : "Select Language:" with select box.

I have followed the tutorial https://www.ostraining.com/blog/drupal/how-to-integrate-a-calendar-in-dr...

Please suggest a solution

Wongjn’s picture

Version: 8.x-2.0-rc9 » 8.x-2.x-dev
Status: Active » Needs review
FileSize
7.18 KB

This patch changes the plugin settings form to only add the taxonomy-related form fields if the taxonomy module is active.

This means that the settings form can actually opened, but may not solve the problem of only the language select showing.

  • Wongjn authored fbfd21a on 8.x-3.x
    Issue #2987853 by Wongjn, adamsm185: Settings under the Full Calendar...

  • Wongjn authored a8d8309 on 8.x-2.x
    Issue #2987853 by Wongjn, adamsm185: Settings under the Full Calendar...
Mingsong’s picture

Thanks for the patch.

Ported.

Mingsong’s picture

Status: Needs review » Patch (to be ported)
Mingsong’s picture

Status: Patch (to be ported) » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.