Skip to content

Instantly share code, notes, and snippets.

IMPORTANT: Please try to describe how did it happen.
-----
App v. `2.13.2`
Avocode UID: 13132
```
TypeError: Cannot read property 'offset' of undefined
at CellSizeAndPositionManager.getVisibleCellRange (/Applications/Avocode.app/Contents/Resources/app.asar/node_modules/react-virtualized/dist/commonjs/Grid/utils/CellSizeAndPositionManager.js:222:21)
at ScalingCellSizeAndPositionManager.getVisibleCellRange (/Applications/Avocode.app/Contents/Resources/app.asar/node_modules/react-virtualized/dist/commonjs/Grid/utils/ScalingCellSizeAndPositionManager.js:154:47)
at Grid._calculateChildrenToRender (/Applications/Avocode.app/Contents/Resources/app.asar/node_modules/react-virtualized/dist/commonjs/Grid/Grid.js:616:65)
<br />
<b>Fatal error</b>: Call to undefined method Ajax_pub::getMaxWeightFromResult() in <b>/var/www/sandbox.delibarry.com/htdocs/application/controllers/Ajax_pub.php</b> on line <b>56</b><br />
<br />
<b>Warning</b>: include(application/views/errors/html/error_php.php): failed to open stream: No such file or directory in <b>/var/www/sandbox.delibarry.com/htdocs/system/core/Exceptions.php</b> on line <b>269</b><br />
<br />
<b>Warning</b>: include(): Failed opening 'application/views/errors/html/error_php.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in <b>/var/www/sandbox.delibarry.com/htdocs/system/core/Exceptions.php</b> on line <b>269</b><br />
<br />
<b>Warning</b>: include(application/views/errors/html/error_php.php): failed to open stream: No such file or directory in <b>/var/www/sandbox.delibarry.com/htdocs/system/core/Exceptions.php</b> on line <b>269</b><br />
<br />
<b>Warning</b>: include(): Failed opening 'application/views/errors/html/error_php.php' for inclusion (in
@MichalCerny
MichalCerny / custom.js
Last active December 18, 2015 07:39
Postach.io templete
$(document).ready(function(){
$(".post-body img").each(function() {
var src=$(this).attr("src");
var href=src.replace('w600_','');
$(this).wrap($('<a/>').attr('href', href));
$(this).parent().addClass("image");
});
$(".image").colorbox({rel: 'gal',height:'90%'});
})