2
I found a solution,
the problem was in file modules/weblog/blocks/weblog_recent.php , as the error message says on lines 126,127,128 there was an access at offset 6 , 7 and 8 in a array that wasn't big enough ( array of 5 objects) ,
so I commented out those lines
//$link_entries = $options[6];
//$show_contents = intval($options[7]);
//$max_size_contents = intval($options[8]);
Probably older posts haven't got this column.
I also modified line 143 from this
include_once(sprintf('%s/modules/%s/config.php', XOOPS_ROOT_PATH, $mydirname ));
to this :
include_once(sprintf('%s/modules/weblog/config.php', XOOPS_ROOT_PATH, $mydirname ));
because there was another error about not finding config.php file .
So I wrote a test blog post , I de-commented lines 126~128 again an then it continued working, also after I deleted the test post.
I hope this trick would be useful to someone