wpp_get_mostpopular return NULL
-
Hi,
When I use the function “wpp_get_mostpopular”, I receive ‘NULL’. This function has been working for a year, it seems to have stopped working after the last update.
My code:
$popularPostStr = wpp_get_mostpopular(array( 'limit' => 5, 'range' => 'last7days', ));
Info from debug page:
Plugin Configuration Performance Nag: Dismissed Log Limit: No Log Views From: Everyone Data Caching: Yes, 1 minute Data Sampling: No External object cache: No WPP_CACHE_VIEWS: No
System Info PHP version: 7.4.27 PHP extensions: Core, date, libxml, openssl, pcre, zlib, filter, hash, Reflection, SPL, session, standard, sodium, apache2handler, mysqlnd, PDO, xml, calendar, ctype, curl, dom, mbstring, FFI, fileinfo, ftp, gd, gettext, iconv, igbinary, json, exif, memcache, msgpack, mysqli, pdo_mysql, Phar, posix, readline, shmop, SimpleXML, soap, sockets, sysvmsg, sysvsem, sysvshm, tokenizer, xmlreader, xmlwriter, xsl, zip, memcached, Zend OPcache Database version: 10.5.15-MariaDB-0ubuntu0.21.10.1 InnoDB availability: DEFAULT WordPress version: 6.3 Multisite: No Active plugins: a3 Lazy Load 2.7.0, ACF Content Analysis for Yoast SEO 3.1, Add From Server 3.4.5, Advanced Custom Fields PRO 6.2.0, Advanced Editor Tools 5.9.2, Announcer 5.9, Classic Editor 1.6.3, Cloudflare 4.12.2, Contact Form 7 5.8, Custom field finder 0.3, Custom Post Type UI 1.14.0, Disable Comments 2.4.4, Drag and Drop Multiple File Upload - Contact Form 7 1.3.6.9, Duplicate Page 4.5.2, Health Check & Troubleshooting 1.7.0, Honeypot for Contact Form 7 2.1.1, InfiniteWP - Client 1.12.3, Missed Scheduled Posts Publisher by WPBeginner 1.0.1, plugin load filter 4.0.15, PublishPress Authors Pro 4.1.7, PublishPress Capabilities 2.9.1, PublishPress Capabilities Pro 2.9.1, PublishPress Checklists Pro 2.6.0, PublishPress Planner Pro 3.12.0, PublishPress Revisions Pro 3.4.1, Redirection 5.3.10, Regenerate Thumbnails 3.1.6, Search & Replace 3.2.1, Velvet Blues Update URLs 3.2.10, Wordfence Security 7.10.3, WordPress Popular Posts 6.2.1, WP Mail SMTP 3.8.2, WPS Hide Login 1.9.8, Yoast SEO 20.13, Yoast SEO Premium 20.13, Yoast Test Helper 1.17Thank you.
- The topic ‘wpp_get_mostpopular return NULL’ is closed to new replies.