• Resolved Chipleh

    (@chipleh)


    Hi there,

    I am very interested in using your plugin for my multisite installation, but it seemingly is not working on WordPress 4.7.4 with multisite enabled.

    The shortcode I am using is this:

    [netsposts include_blog=”19, 10, 11, 12, 13″ days=”50″ titles_only=”false” show_author=”true” thumbnail=”true” size=”90,90″ image_class=”alignleft” auto_excerpt=”true” excerpt_length=”150″ paginate=”true” list=”6″]

    And while in debug mode, I receive these notices and nothing renders on the screen:

    Notice: Undefined variable: cat in /home/apusms/www/html/wp-content/plugins/network-posts-extended-2.6/network-posts-extended.php on line 649

    Notice: Undefined variable: tag in /home/apusms/www/html/wp-content/plugins/network-posts-extended-2.6/network-posts-extended.php on line 659

    Notice: Undefined variable: exclude in /home/apusms/www/html/wp-content/plugins/network-posts-extended-2.6/network-posts-extended.php on line 733

    Notice: Undefined variable: order_by in /home/apusms/www/html/wp-content/plugins/network-posts-extended-2.6/network-posts-extended.php on line 1109

    I was wondering if my shortcode is configured incorrectly, or if others are having this issue as well with WordPress 4.7.4 multisite.

    Thank you for any help,
    chipleh

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author johnzenausa

    (@johnzenausa)

    @chipleh
    Can you please try the latest update and let me know.

    Thanks.

    Thread Starter Chipleh

    (@chipleh)

    @johnzenausa – oh niceness! thank you for the update, brother – I don’t have access to the ftp right now, as my vpn is borked, but I appreciate you. I’ll give it a go first this monday morning and let you know.

    have a great weekend, and big ups for this plugin, I think it may just solve all my needs, and I may try to extend it a bit if I can get it going, if I can, I’ll be working with it for the next month or so.

    • This reply was modified 8 years, 11 months ago by Chipleh.
    • This reply was modified 8 years, 11 months ago by Chipleh.
    Thread Starter Chipleh

    (@chipleh)

    w000t! My VPN is working this morning, so I gave it a shot; only 2 notices now:

    Notice: Constant WOOCOMMERCE already defined in www/html/wp-content/plugins/network-posts-extended-2.7/network-posts-extended.php on line 431

    Notice: Constant WPESTORE already defined in www/html/wp-content/plugins/network-posts-extended-2.7/network-posts-extended.php on line 433

    I do have one of my blogs aggregating, but I’ve tried others and nothing pulls in. i.e.:

    if I do include_blog=”9,10,11,13,14″ – I get blog 9 content.

    if I do include_blog=”10,11,13,14″ – I get nothing.

    if I do include_blog=”10″ – I get nothing.

    I’m going to peep through your code and see if I can find anything, but since it’s working for you on 4.7.4, I’m going to have to chalk it up to some plugin conflict in my blogs, and I can’t deactivate any of them.

    Thanks for your help, I’ll let you know if I can resolve anything.

    Thread Starter Chipleh

    (@chipleh)

    @johnzenausa:

    UPDATE: I got it! As your update helped me to display 1 of my blogs, I tried working with some other plugins and was receiving the same issues. I cracked open my db and lo and behold, somehow in the wp_sites table, only one of my blogs were set to public – i set the blogs I wanted to public and bam! got em all!!!

    thanks for this plugin once more – situation solved.

    big ups to you
    ~chipleh

    • This reply was modified 8 years, 11 months ago by Chipleh.
    Thread Starter Chipleh

    (@chipleh)

    one more as a final resolution, which is a generic issue, unrelated to this fine, fine piece of work right here: if you’re having problems like I’m having, the first thing to check is:

    SELECT * FROM sitename.wp_blogs where public=”0″;

    If any sites are set to 0, you will need to set them to 1 or they will not be injested by any multisite aggregation plugin – it took me some time to realize that, so I hope someone can benefit from it.

    I will be enjoying this plugin now for the month to come… w000t!

    …and a high 5 to @johnzenausa

    • This reply was modified 8 years, 11 months ago by Chipleh.
    • This reply was modified 8 years, 11 months ago by Chipleh.
    Plugin Author johnzenausa

    (@johnzenausa)

    Okay thanks for the update. Are all your styles working? That is any custom css you’ve added.

    Thread Starter Chipleh

    (@chipleh)

    I’ve got a front end dev for the styling, they are using a LESS approach for styling, I am just adding classes where needed.

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

The topic ‘Notices: undefined variables and shortcode not rendering anything…’ is closed to new replies.