Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Contributor foxly

    (@foxly)

    Nobody’s ever reported that one before. What triggers the error?

    ^F^

    Thread Starter jnpi

    (@jnpi)

    If I only knew…

    I only have fresh installations of WP 3.5 Multisite, BuddyPress, BuddyPress Template Pack and BP-Album enabled.

    Absolutely nothing else.

    Plugin Contributor foxly

    (@foxly)

    Post a link to a page on your site that generates that error when a user views the page.

    ^F^

    Thread Starter jnpi

    (@jnpi)

    Dear foxly,

    I am glad to let you know that my problem has been solved. I only had to reset my Site Title and Description. The reseting process can be summed up to restoring the original Site Tite and Description and re-write the Site Title and Description to my liking. As much as change it may be, all warning messaged disappeared.

    I intend to tag the topic as resolved soon, but I will keep it open for a little while so you may contact me if you need any further information. If no further information is required, please let me know so as to proceed with the closing of this topic.

    Thank you for your immediate attention to my issue.

    Thread Starter jnpi

    (@jnpi)

    Btw, I have also tested the pugin to another site and any warnings disappear after properly setting the BP Template Pack up. The reason might have been that the aforementioned plug-in was probably not properly installed on my first site, thus triggering the warnings.

    Hi guys,

    Just had a look in my error log on my site which is running WP 3.5 and BP 1.6.2and I am also seeing bundles and bundles of that same error meesage:

    22-Dec-2012 00:06:01 UTC] PHP Warning: Division by zero in /home/…/public_html/wp-content/plugins/bp-album/includes/bpa.template.tags.php on line 84

    I used to have Buddypress template Pack installed but don’t use it with my theme any more, it’s no longer required.

    Any idea why this is being generated Foxly?

    Anything I can test mate?

    Thanks ??

    Plugin Contributor foxly

    (@foxly)

    We’ve spent some time investigating this defect, and it’s happening because another template is passing “zero” or “null” to BP-Album when its expecting a page number.

    We can easily fix this, but we’d like some more details about which template is doing it.

    ^F^

    Nice one Foxly!

    I’m not a coder, but if you let me know what I can do to help, I’ll gladly test stuff for you guys!

    Any update on this Foxly, or is there anything I need to do for you mate?

    Plugin Contributor foxly

    (@foxly)

    I’m not getting this error on my test system. However, you can resolve it on your server by making the following modification:

    In the file “bp-album/includes/bpa.template.tags.php”

    at line 80, insert the following block of code:

    if(!$this->pag_per_page){
    $this->pag_per_page = 1;
    }

    We will add this modification to future versions of the plugin.

    ^F^

    Plugin Contributor foxly

    (@foxly)

    Marked as resolved.

    Nice one Foxly, really appreciate you coming back to me on this.

    I’ll wait for the next version to patch this then. I only see the error once every now and again!

    Ross ??

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Generated warning’ is closed to new replies.