• Resolved alexlii

    (@alexlii)


    I input in a page the following shortcode,

    [mpr_display days=4 items=10]

    and networkly activated it, but it does not work and only show the message below, please check the screenshot: https://prntscr.com/gacpgb

    wordpress 4.5.7

    Alex

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author Rick Hellewell

    (@rhellewellgmailcom)

    I am unable to duplicate your error on my test and production sites. I assume that you are using the latest version of the plugin Version 1.23 (10 Aug 2017).

    It may be related to your WP version. The plugin requires at least version 4.6.

    (Updating WP to the latest version is always a good idea to keep your site secure.)

    Plugin Author Rick Hellewell

    (@rhellewellgmailcom)

    I just uploaded a new version (2.00). It does checking for WP version 4.6+, and PHP 5.3+.

    Might have also fixed a weird bug.

    Let me know of success/failures.

    Thanks for your patience.

    Thread Starter alexlii

    (@alexlii)

    networkly activated, No error show,
    use [mpr_display] , but still show nothing.

    Alex

    • This reply was modified 7 years, 6 months ago by alexlii.
    Plugin Author Rick Hellewell

    (@rhellewellgmailcom)

    I just uploaded version 2.01. Removed code no longer needed for WP < 4.6 compatability.

    Also added a ‘debug=yes’ optional parameters. This will show the SQL statement used in the wp_query() function, plus the number of records found. The hope is that if you add that parameter to your page, it will let you try out the query in your phpMyAdmin on your host to see if you get results. Plus showing you the number of records found.

    Coupled with the requirement now that WP version 4.6 or greater is checked during plugin activation, perhaps that will give us more information to figure out this problem.

    If you try [mpr_display debug=yes], please check the output on the page to see how many records are found. You might also try [mpr_display days=1000 debug=yes] to check for posts at least 1000 days old (adjust as needed).

    I’d be interested in your results. Thanks for your patience. (I’m adding similar changes to the plugins that show media and comments. Working on that next.)

    Thread Starter alexlii

    (@alexlii)

    Hello,

    I input [mpr_display days=1000 debug=yes]

    the message at frontend shows below:

    Debug:
    SQL = SELECT SQL_CALC_FOUND_ROWS plpkj_7_posts.ID FROM plpkj_7_posts WHERE 1=1 AND ( plpkj_7_posts.post_date >= ‘2014-12-06 00:18:50’ ) AND plpkj_7_posts.post_type = ‘post’ AND (plpkj_7_posts.post_status = ‘publish’ OR plpkj_7_posts.post_status = ‘moderate’ OR plpkj_7_posts.post_status = ‘private_post’ OR plpkj_7_posts.post_status = ‘private’) ORDER BY plpkj_7_posts.post_date DESC LIMIT 0, 10
    Found: 10 records

    any one of the post will be shown 19 times, but no post from any other subsite of MU network will be shown.

    Alex

    Plugin Author Rick Hellewell

    (@rhellewellgmailcom)

    I’ve uninstalled MPR (and my other similar plugins) on my test multisite. Then installed MPR, then activated. No errors.

    Then created a new page with [mpr_display days=1000 debug=yes] . Published the page, and viewed it. The output was as expected; showed the posts from each subsite, with the debug info.

    There is no other content on the page except the shortcode.

    I have WP 4.8.1 installed. PHP version 5.4.43 .

    I cannot duplicate your problem. I don’t know why you are having the problem.

    Thread Starter alexlii

    (@alexlii)

    Hello,

    FYI, our PHP version: 5.6.30-0+deb8u1

    If you need, I can send you a administrator account on our test site for your rest, please write to me alexlii, at yahoo, dot com if you need.

    Thanks.

    Alex

    Plugin Author Rick Hellewell

    (@rhellewellgmailcom)

    Just released a new version; not sure if it will fix your problem. Let me know.

    Plugin Author Rick Hellewell

    (@rhellewellgmailcom)

    Hey Alex!

    I found and fixed an obscure bug that might have caused your problem of not displaying anything.

    Please try the latest version (2.12), uploaded 2 days ago, and let me know if it fixed your problem.

    Thanks…Rick….

    Thread Starter alexlii

    (@alexlii)

    ok, thanks.

    I am out of office these days, and will let you know after test.

    Alex

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘does not display’ is closed to new replies.