Support » Plugin: Network Posts Extended » Fatal Error

  • Hello tx for the great ideal and work,
    your plugin is exactly what i was looking for.
    But i cant get it work yet. Hope it can get fixed with your help.

    I have WordPress 5.2, PHP 7.0.32.
    Multisite uses

    When i write a shortcode i get a fatal error.

    – I already deactivated all other plug ins. Got fatal errors anyway.
    – I wrote the shortcode in the editors shortcode block and as well tried it with the html view of a text block. same result.
    – I tried your example with my blog nummbers and categry slug and i tried it without blog and categorie (default =all)

    [netsposts include_blog=’3′ days=’30’ taxonomy=’fotogalerie’ titles_only=’false’ show_author=’true’ thumbnail=’true’ size=’90,90′ image_class=’alignleft’ auto_excerpt=’true’ excerpt_length=’150′ show_author=’true’ paginate=’true’ list=’5′]

    Give u a superadmin account is no problem if u have the time and could have a look at it.
    I probably am doing wrong anything.

    Have a nice day – Markus
    PS. sorry for my poor english πŸ˜‰

    Fatal Error
    Fatal error: Uncaught TypeError: Return value of NetworkPosts\Components\db\NetsPostsQuery::set_days() must be an instance of NetworkPosts\Components\db\void, none returned in /homepages/20/d778183532/htdocs/clickandbuilds/WordPress/MyCMS3/wp-content/plugins/network-posts-extended/components/db/NetsPostsQuery.php:90 Stack trace: #0 /homepages/20/d778183532/htdocs/clickandbuilds/WordPress/MyCMS3/wp-content/plugins/network-posts-extended/network-posts-extended.php(135): NetworkPosts\Components\db\NetsPostsQuery->set_days(’30’) #1 /homepages/20/d778183532/htdocs/clickandbuilds/WordPress/MyCMS3/wp-includes/shortcodes.php(325): netsposts_shortcode(Array, ”, ‘netsposts’) #2 [internal function]: do_shortcode_tag(Array) #3 /homepages/20/d778183532/htdocs/clickandbuilds/WordPress/MyCMS3/wp-includes/shortcodes.php(199): preg_replace_callback(‘/\\[(\\[?)(netspo…’, ‘do_shortcode_ta…’, ‘[netsposts days…’) #4 /homepages/20/d778183532/htdocs/clickandbuilds/WordPress/MyCMS3/wp-includes/class-wp-hook.php(286): do_shortcode(‘[netspo in /homepages/20/d778183532/htdocs/clickandbuilds/WordPress/MyCMS3/wp-content/plugins/network-posts-extended/components/db/NetsPostsQuery.php on line 90

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


    I’ll look at it tonight then let you know if i need superadmin

    Plugin Author johnzenausa


    Hi @meingarten;
    Okay everything is working on my test site so please go to and create a ticket with temporary super admin privileges.

    Plugin Author johnzenausa


    I see the problem. With my latest updates your server now needs 7.1 installed. Your server is at 7.0.

    Plugin Author johnzenausa


    I got your ticket and I’ll have a look also. But upgrade php to 7.2 or 7.3

    Hi John, tx,

    i upgraded to 7.2
    No fatal error anymore – great you realized that so fast.

    I have some more but little problems – shall i ask here or with a ticket?

    Things like:
    Then Title looses colour and switches back to black. Text has no heading size anymore – normal text.

    2. There is no space between categories

    3. “read more” not in the language file to translate – where is it?
    As well no space in front of the text – so it doesn’t look nice.

    Some more lil things – i am just exploring your great plug in – but have to work, so lil time for that.

    Where can i donate for your great work?

    Have a good time – love & peace – markus

    Plugin Author johnzenausa


    I’ll give you an explantion by tomorrow and fix the read more text.

    Plugin Author johnzenausa


    Give me the link of the page you are displaying the posts and I’ll set you up some html to make the page look right.

    Hi John,

    0 Title link does not work.
    the include_link_title=’true’ works, but title then looses its coulor and is shown in a small character ize.

    1. categories should be seperated at least bey a space.
    Better would be space + pipe + space,

    2. Excerpt text starts very close to the thumbnail image.
    Probably would look much nicer with an empty Line. Coud u add a <br> there?

    3. read more does not have a space beetween end of excerpt Text.

    4. As well its not translatable.
    i dont know which php file it is defined.
    I would need weiterlesen instead of read more.

    There are some mor lil things i nned to fix, but am at work now and cant remember everything.

    Have a nice day – markus

    oops forgot 1 important.

    But probably belongs to wptouch.

    I use wptouch pro. There the titles arent bold.
    With the catagories below title which are bold, the categories are more prominent though the have a smaller font size.

    May be this will be solved with the link problem of the title.
    cu – markus

    last addition.
    I use wptouch with a different shortcut for mobiles.
    For mobiles i only have one row.

    Do u need the shortcode i use?
    cu – markus

    Plugin Author johnzenausa


    Always helps. Put them between back ticks `

    Plugin Author johnzenausa


    Very sick today let me do it tomorrow. Thanks.

    Shure – hope u will be better soon.
    Not to solve my problems πŸ˜‰

    Desktop Shortcut
    [netsposts include_blog=’3′ taxonomy=’fun-geschenke’ hide_source=’true’ title_color=’#109930′ title=’Geschenke fΓΌr Gartenfeste, Grillparties und Vatertag’ titles_only=’false’ show_categories=’true’ show_author=’false’ thumbnail=’true’ size=’150,300′ column_width=’250′ height=”500px” post_height=”200px” column=’2′ line=’2′ excerpt_length=’100′ paginate=’true’ list=’6′]

    Mobile Shortcut
    [netsposts include_blog=’3′ taxonomy=’fun-geschenke’ hide_source=’true’ title_color=’#109930′ title=’Fun-Geschenke’ titles_only=’false’ show_categories=’true’ show_author=’false’ thumbnail=’true’ size=’150,300′ column_width=’250′ height=”500px” post_height=”200px” column=’1′ line=’1′ excerpt_length=’100′ paginate=’true’ list=’6′]

    Seems neither column Width nor thmbnail size have any effect. not for desktop not for mobiles.

    Hope u are better soon πŸ˜‰ – markus

    another approach – same Shortcut Syntax

    Plugin Author johnzenausa


    Hi @meingarten;

    To get the look you’re looking for add this to your css file or in the customizer section.

    .netsposts-categories a:not(:last-of-type)::after {
        content: "\00a0\01c0";
    .netsposts-categories a:not(:first-of-type)::before {
        content: "\00a0";

    This will list your categories with the pipe symbol | separating the categories.

    The translation for the read more text should now be fixed. Version 7.0.5.

    • This reply was modified 3 months ago by  johnzenausa. Reason: Read more explanation
Viewing 15 replies - 1 through 15 (of 29 total)
  • You must be logged in to reply to this topic.