• Hi, I love this plugin but now I have a small problem:
    Trying to use the shortcode causes out of memory problem. The error seems to ONLY occurs under the following conditions:
    list=false && is NOT 2nd last page in the tree !

    for example:
    Products > Category > Child Category > [Products]
    Both Products & Category pages will fail & only the “Child Category” page (2nd last page in the tree) will work as expected.
    Any idea what the problem or at least what code I should look at to try find a solution?

    Also, I see there is a version 1.9 on svn but only version 1.35 on ww.wp.xz.cn, do I have the up-to-date code ?
    https://plugins.svn.ww.wp.xz.cn/cc-child-pages/tags/1.9/

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author caterhamcomputing

    (@caterhamcomputing)

    Hi.

    Version 1.9 is actually version 1, release 9 … and is older that 1.35 (version 1, release 35).

    Can you let me have a little more information:

    1. have you used any of the hooks/filters in the plugin? (so that I can eliminate problems with code not in the plugin itself)
    2. how many child pages should be displayed when the problem occurs
    3. can you copy and paste the exact shortcode that is having the problem, complete with all it’s arguments

    I use Divi myself, and have not encountered issues … but obviously I will look into this.

    Plugin Author caterhamcomputing

    (@caterhamcomputing)

    I have had a look at both the plugin and your page, and can’t see any obvious problems with either.

    Can you let me know if this is still a problem?

    Thread Starter Michael Habib

    (@michaelhabib16)

    Thanks for your quick reply,
    I still have the problem here:
    http://lvpaustralia.com.au/products/ Fails (but had to use a work around to have the site ready for customer feedback)

    # Test 1 = Pages were cloned using DUplicate Page plugin
    http://lvpaustralia.com.au/products/
    http://lvpaustralia.com.au/products/category-1/ Fails
    http://lvpaustralia.com.au/products/category-1/subcategory-1/ works

    # Test 2 = Pages were created manually & added shortcode directly (without using the Divi Visual Builder)
    http://lvpaustralia.com.au/products/
    http://lvpaustralia.com.au/products/category-2/ Fails
    http://lvpaustralia.com.au/products/category-2/subcategory-2/ works

    # More info
    WHen it fails, I get white page most of the time, few times got out of memory error and the logs show out of memory errors.

    Theme used is Divi 3. All existing working children pages under /products/ use the same “global library item” which is another word for “shared template file” in Divi.
    I’ve used the exact same “global library item” in test 1 but it failed. Also copy/pasted the code (without using divi) for test 2 but still got exact same results.

    The truth is, right now I dont understand why it’s happening. old pages under these hierarchy patterns /products/* & /products/category-name/*sub-category-* seem to work but creating new pages (duplicated or manually created) using the same hierarchy fails as explained above.

    # To answer your questions:
    1- I did not add any custom php code for this project, so no extra hooks from me.
    2- Old working pages have 5-10 children pages , while each of the new failing tests only have 1 or 2 children pages.
    3 – SHortcode is [child_pages skin=”simple” thumbs=’large’ link_thumbs=”true” link_titles=”true” words=”10″ hide_wp_more=”false” cols=”3″ truncate_excerpt=”false” depth=”1″]
    This is the exact same code used for all LIVE PAGES under /products/ but fail in any new pages.
    A simple LIST only works fine, only fails when thumbs=”large” (I have not tested other thumbnail sizes yet.

    Plugin Author caterhamcomputing

    (@caterhamcomputing)

    Sorry to have been quiet for a while … my work has been keeping me away from my desk for a while.

    I have not been able to reproduce this problem on my set up … I will keep looking into it, but in the meantime is it feasible to run your example with debugging turned on in WordPress and let me know if you get any messages relating to the plugin?

    It might also be worth trying other thumbnail sizes to see if smaller thumbnails get around the problem. (Assuming the thumbnails are standard WordPress thumbnails it shouldn’t make any difference … but if they are grabbed from videos or created on the fly in some manner it may.)

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Thumbnails, Depth 2+ & Divi3 Theme causes memory error !’ is closed to new replies.