So I installed K2 and i must say i am really happy with what it does to my site.
But sadly enough every article i make in K2 and that gets shown on the website gets a php error.
Notice: Undefined offset: 1 in C:\wamp\www\Joomla\plugins\content\attachments\attachments.php on line 56
Call Stack
# Time Memory Function Location
1 0.0008 392504 {main}( ) ..\index.php:0
2 0.6166 12357728 JSite->render( ) ..\index.php:48
3 0.6371 12583184 JDocumentHTML->render( ) ..\application.php:261
4 0.6371 12583184 JDocumentHTML->_renderTemplate( ) ..\html.php:433
5 0.6407 12628560 JDocumentHTML->getBuffer( ) ..\html.php:655
6 0.6407 12628936 JDocumentRendererModules->render( ) ..\html.php:371
7 0.6408 12629528 JDocumentRendererModule->render( ) ..\modules.php:39
8 0.6416 12634752 JModuleHelper::renderModule( ) ..\module.php:106
9 0.6472 12718160 include( 'C:\wamp\www\Joomla\modules\mod_k2_content\mod_k2_content.php' ) ..\helper.php:175
10 0.6590 13137296 modK2ContentHelper::getItems( ) ..\mod_k2_content.php:45
11 0.7074 13866744 JDispatcher->trigger( ) ..\helper.php:427
12 0.7074 13867296 JEvent->update( ) ..\dispatcher.php:161
13 0.7074 13867800 call_user_func_array ( ) ..\event.php:71
14 0.7074 13867824 plgContentAttachments->onContentBeforeDisplay( ) ..\event.php:0
Now i went to look in the file and line 56 shows this: list ($parent_type, $parent_entity) = explode('.', $context, 2);
I looked for sollutions on other fora but so far no luck. So maybe more luck here!
Thanks in advance
But sadly enough every article i make in K2 and that gets shown on the website gets a php error.
Notice: Undefined offset: 1 in C:\wamp\www\Joomla\plugins\content\attachments\attachments.php on line 56
Call Stack
# Time Memory Function Location
1 0.0008 392504 {main}( ) ..\index.php:0
2 0.6166 12357728 JSite->render( ) ..\index.php:48
3 0.6371 12583184 JDocumentHTML->render( ) ..\application.php:261
4 0.6371 12583184 JDocumentHTML->_renderTemplate( ) ..\html.php:433
5 0.6407 12628560 JDocumentHTML->getBuffer( ) ..\html.php:655
6 0.6407 12628936 JDocumentRendererModules->render( ) ..\html.php:371
7 0.6408 12629528 JDocumentRendererModule->render( ) ..\modules.php:39
8 0.6416 12634752 JModuleHelper::renderModule( ) ..\module.php:106
9 0.6472 12718160 include( 'C:\wamp\www\Joomla\modules\mod_k2_content\mod_k2_content.php' ) ..\helper.php:175
10 0.6590 13137296 modK2ContentHelper::getItems( ) ..\mod_k2_content.php:45
11 0.7074 13866744 JDispatcher->trigger( ) ..\helper.php:427
12 0.7074 13867296 JEvent->update( ) ..\dispatcher.php:161
13 0.7074 13867800 call_user_func_array ( ) ..\event.php:71
14 0.7074 13867824 plgContentAttachments->onContentBeforeDisplay( ) ..\event.php:0
Now i went to look in the file and line 56 shows this: list ($parent_type, $parent_entity) = explode('.', $context, 2);
I looked for sollutions on other fora but so far no luck. So maybe more luck here!
Thanks in advance