BuddyDev

Search

Replies

  • Participant
    Level: Enlightened
    Posts: 21
    Edward on #21498
    This reply has been marked as private.
  • Participant
    Level: Enlightened
    Posts: 21
    Edward on #21497
    This reply has been marked as private.
  • Participant
    Level: Enlightened
    Posts: 21
    Edward on #21478
    This reply has been marked as private.
  • Participant
    Level: Enlightened
    Posts: 21
    Edward on #21330
    This reply has been marked as private.
  • Participant
    Level: Enlightened
    Posts: 21
    Edward on #21329

    Hi Brajesh,

    Yes correctly pointed out and confirmed it’s a theme scripts issue.

    Autoloader works fine actually.

    Thanks again!

    Best regards
    Edward

  • Participant
    Level: Enlightened
    Posts: 21
    Edward on #21310
    This reply has been marked as private.
  • Participant
    Level: Enlightened
    Posts: 21
    Edward on #21282
    This reply has been marked as private.
  • Participant
    Level: Enlightened
    Posts: 21
    Edward on #21236

    Hi Brajesh,

    Apparently the theme already has an ERROR LOG in it and this is part of the redacted message:

    [01-Mar-2019 08:18:54 UTC] PHP Warning: Division by zero in /home2//public_html/wp-content/plugins/buddypress/bp-activity/bp-activity-template.php on line 511
    [01-Mar-2019 08:18:56 UTC] PHP Warning: Division by zero in /home2//public_html/wp-content/plugins/buddypress/bp-activity/bp-activity-template.php on line 511

    This is coupled with our earlier Error 404 message on the console for sent parameters (post request):

    “Failed to load resource; the server responded with a status of 404 (not found).”

    The Division by Zero indicates that the Per Page option has been set to ZERO and therefore, when we click LOAD MORE, there are error messages and the data just keep repeating and looping.

    We have always set the Per Page option at 5 or 7 (and not zero). This issue only cropped up on Feb 26.

    Is this an indication that either the LOAD MORE button or the PER PAGE OPTION (on the Activity element of the Homepage) is defective?

    Would really appreciate your kind advise.

    Thanks!

    Best regards
    Edward

  • Participant
    Level: Enlightened
    Posts: 21
    Edward on #21207

    Hi Brajesh,

    Sorry I’m not familiar with PHP but I tried to place this code into the wp-config.php file:

    define(‘WP_DEBUG’, true);
    define(‘WP_DEBUG_LOG’, true);

    However, I can’t seem to locate the debug.log in wp-content.

    I must have skipped a step of done something wrong.

    Need your kind guidance and advise.

    Best regards
    Edward

  • Participant
    Level: Enlightened
    Posts: 21
    Edward on #21182

    Hi Brajesh,

    I’ve tried removing that code earlier but the Load More button was still not working.

    Funny thing is if I amend the Activity element on the Homepage and don’t state the number of activity items on each page (i.e when the Load More button is clicked), the stream loads properly with the entire history intact. Only drawback is that it makes the stream too long and unwieldy and distorts the Homepage.

    Looks like we’re running out of ideas on this issue…..

    Thanks anyway for trying Brajesh.

    Best regards
    Edward