Hello,

just tried out this module on Simplytest.me.

Only selected this module to startup , created a Basic Page node, Tab is displayed (yaay) :)

Only : when clicking this tab I get a Fatal Error :

Fatal error: Call to undefined function entity_view() in /home/s516944dbdd9b13e/www/sites/default/modules/view_modes_display/view_modes_display.pages.inc on line 30

Here is the call stack :

Call Stack
#	Time	Memory	Function	Location
1	0.0002	697120	{main}( )	../index.php:0
2	0.0616	27585160	menu_execute_active_handler( )	../index.php:21
3	0.0617	27605320	call_user_func_array:{/home/s516944dbdd9b13e/www/includes/menu.inc:517} ( )	../menu.inc:517
4	0.0617	27605936	view_modes_display_preview_entity( )	../menu.inc:517

Could be that this is a SimplyTest.me issue, however I was wondering if this module has any dependencies to make it run? Usually these errors (Call to undefined function) suggests a module is looking for a function inside another module, hence the question.

Comments

  • pvhee committed c7984ed on 7.x-1.x
    #2450305 added entity as module dependency
    
pvhee’s picture

Status: Active » Fixed

The "entity" module is required. I've added this as a dependency and it will be part of the next release.

Alienpruts’s picture

I can confirm this now works. Tnx :)

Status: Fixed » Closed (fixed)

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