Giter VIP home page Giter VIP logo

flickerdtheme's People

Contributors

amereservant avatar popzelife avatar

Watchers

 avatar

flickerdtheme's Issues

Warning: array_slice() expects parameter 1 to be array, null given in flickerd.class.php (line 193)

In flickerd.class.php file, the reason it may not work is because $images = $this->_getFlckImages(); (line 168) is not an array when there is no images available in the albums.

To check if something is an array, we can do:
is_array($images); // returns true or false

If it is an array, we can then call array_slice()
The better solution however, is to check the $images variable to make sure it returned what we are looking for before processing.

Unknown function getContentShorten in album.php on line 226

On this line, the funcion getContentShorten seems to be unknown even if there is a reference in the documentation: <div class="imageDescription"><?php echo getContentShorten(stripPTags(getImageDesc()), 100, '<a href="'. htmlspecialchars(getImageURL()) .'">...</a>'); ?></div>

Replaced for now by:
<div class="imageDescription"><?php echo getImageDesc(); ?></div>

Warning: printAdminToolbox (called from header.php line 43) is deprecated

This feature is now done by a theme_body_close filter. You can remove the function call. You can disable this error message by going to the deprecated-functions plugin options and un-checking printAdminToolbox in the list of functions.

Function is in /zp-core/zp-extensions/deprecated-functions.php on line 154.

Get a look at the filter theme_body_close on the Zen Photo git-repo.

Fatal error: Call to undefined function getHitcounter()

Fatal error encountered several times in image.php on line 135, then album.php on line 74.

This functions seems to work this way:
$variable->getHitcounter()

The line 74 in album.php seems to point out to the number of view on this page, or album, picture?
<div class="albumStats"><?php echo getNumImages(); ?> photos | <?php echo getHitcounter(); ?> views </div>
But getHitcounter point to a non object causing a fatal error.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.