Sorry, no data so far
-
Hello.
My site have been up for a few days now, and every post have been viewed multiple times.
The plugin still says Sorry, no data so far.
What can I do to resolve this?
Plugin is updated
Theme has “<?php wp_head(); ?> </head>”
There are rows in the database, but they seem to be empty.
Settings are: order by avg. daily views
Widget setting: avg. daily views, filter: posts, 30 days.Site is: https://www.byte-me.dk/en/
https://www.ads-software.com/plugins/wordpress-popular-posts/
-
Hi Dennis!
There seems to be a problem with your site. Every time the plugin tries to register a page view your blog responds with a 500 Server error, preventing WPP from writing to the database.
This could be either related to a corrupted WordPress setup or by another plugin. Tru enabling WP_DEBUG on your site and check for errors.
Hi Héctor.
With Debug enabled i get this when loading my site:
Strict Standards: Redefining already defined constructor for class WP_exec_PHP in /customers/9/2/0/byte-me.dk/httpd.www/wp-content/plugins/wp-exec-php/wp-exec-php.php on line 151 Deprecated: Assigning the return value of new by reference is deprecated in /customers/9/2/0/byte-me.dk/httpd.www/wp-content/plugins/wp-exec-php/wp-exec-php.php on line 987 Notice: Undefined index: form_method in /customers/9/2/0/byte-me.dk/httpd.www/wp-content/plugins/wp-latest-posts/inc/yd-widget-framework.inc.php on line 97 Warning: include(): open_basedir restriction in effect. File(/customers/f/5/9/freerundenmark.dk/httpd.www/Byteme/wp-content/plugins/wp-super-cache/wp-cache-base.php) is not within the allowed path(s): (/customers/9/2/0/byte-me.dk/httpd.www:/customers/9/2/0/byte-me.dk/httpd.private:/customers/9/2/0/byte-me.dk/tmp:/customers/byte-me.dk/byte-me.dk:/var/www/diagnostics:/usr/share/php) in /customers/9/2/0/byte-me.dk/httpd.www/wp-content/plugins/wp-super-cache/wp-cache.php on line 65 Warning: include(/customers/f/5/9/freerundenmark.dk/httpd.www/Byteme/wp-content/plugins/wp-super-cache/wp-cache-base.php): failed to open stream: Operation not permitted in /customers/9/2/0/byte-me.dk/httpd.www/wp-content/plugins/wp-super-cache/wp-cache.php on line 65 Warning: include(): Failed opening ‘/customers/f/5/9/freerundenmark.dk/httpd.www/Byteme/wp-content/plugins/wp-super-cache/wp-cache-base.php’ for inclusion (include_path=’.:/usr/share/php’) in /customers/9/2/0/byte-me.dk/httpd.www/wp-content/plugins/wp-super-cache/wp-cache.php on line 65 Warning: include_once(): open_basedir restriction in effect. File(/customers/f/5/9/freerundenmark.dk/httpd.www/Byteme/wp-content/plugins/wp-super-cache/ossdl-cdn.php) is not within the allowed path(s): (/customers/9/2/0/byte-me.dk/httpd.www:/customers/9/2/0/byte-me.dk/httpd.private:/customers/9/2/0/byte-me.dk/tmp:/customers/byte-me.dk/byte-me.dk:/var/www/diagnostics:/usr/share/php) in /customers/9/2/0/byte-me.dk/httpd.www/wp-content/plugins/wp-super-cache/wp-cache.php on line 82 Warning: include_once(/customers/f/5/9/freerundenmark.dk/httpd.www/Byteme/wp-content/plugins/wp-super-cache/ossdl-cdn.php): failed to open stream: Operation not permitted in /customers/9/2/0/byte-me.dk/httpd.www/wp-content/plugins/wp-super-cache/wp-cache.php on line 82 Warning: include_once(): Failed opening ‘/customers/f/5/9/freerundenmark.dk/httpd.www/Byteme/wp-content/plugins/wp-super-cache/ossdl-cdn.php’ for inclusion (include_path=’.:/usr/share/php’) in /customers/9/2/0/byte-me.dk/httpd.www/wp-content/plugins/wp-super-cache/wp-cache.php on line 82 Warning: Cannot modify header information – headers already sent by (output started at /customers/9/2/0/byte-me.dk/httpd.www/wp-content/plugins/wp-exec-php/wp-exec-php.php:151) in /customers/9/2/0/byte-me.dk/httpd.www/wp-includes/pluggable.php on line 1196
Hi Hector.
Thanks for your response.
This is what I get from debugging:Strict Standards: Redefining already defined constructor for class WP_exec_PHP in /customers/9/2/0/byte-me.dk/httpd.www/wp-content/plugins/wp-exec-php/wp-exec-php.php on line 151 Deprecated: Assigning the return value of new by reference is deprecated in /customers/9/2/0/byte-me.dk/httpd.www/wp-content/plugins/wp-exec-php/wp-exec-php.php on line 987 Notice: Undefined index: form_method in /customers/9/2/0/byte-me.dk/httpd.www/wp-content/plugins/wp-latest-posts/inc/yd-widget-framework.inc.php on line 97 Warning: include(): open_basedir restriction in effect. File(/customers/f/5/9/freerundenmark.dk/httpd.www/Byteme/wp-content/plugins/wp-super-cache/wp-cache-base.php) is not within the allowed path(s): (/customers/9/2/0/byte-me.dk/httpd.www:/customers/9/2/0/byte-me.dk/httpd.private:/customers/9/2/0/byte-me.dk/tmp:/customers/byte-me.dk/byte-me.dk:/var/www/diagnostics:/usr/share/php) in /customers/9/2/0/byte-me.dk/httpd.www/wp-content/plugins/wp-super-cache/wp-cache.php on line 65 Warning: include(/customers/f/5/9/freerundenmark.dk/httpd.www/Byteme/wp-content/plugins/wp-super-cache/wp-cache-base.php): failed to open stream: Operation not permitted in /customers/9/2/0/byte-me.dk/httpd.www/wp-content/plugins/wp-super-cache/wp-cache.php on line 65 Warning: include(): Failed opening ‘/customers/f/5/9/freerundenmark.dk/httpd.www/Byteme/wp-content/plugins/wp-super-cache/wp-cache-base.php’ for inclusion (include_path=’.:/usr/share/php’) in /customers/9/2/0/byte-me.dk/httpd.www/wp-content/plugins/wp-super-cache/wp-cache.php on line 65 Warning: include_once(): open_basedir restriction in effect. File(/customers/f/5/9/freerundenmark.dk/httpd.www/Byteme/wp-content/plugins/wp-super-cache/ossdl-cdn.php) is not within the allowed path(s): (/customers/9/2/0/byte-me.dk/httpd.www:/customers/9/2/0/byte-me.dk/httpd.private:/customers/9/2/0/byte-me.dk/tmp:/customers/byte-me.dk/byte-me.dk:/var/www/diagnostics:/usr/share/php) in /customers/9/2/0/byte-me.dk/httpd.www/wp-content/plugins/wp-super-cache/wp-cache.php on line 82 Warning: include_once(/customers/f/5/9/freerundenmark.dk/httpd.www/Byteme/wp-content/plugins/wp-super-cache/ossdl-cdn.php): failed to open stream: Operation not permitted in /customers/9/2/0/byte-me.dk/httpd.www/wp-content/plugins/wp-super-cache/wp-cache.php on line 82 Warning: include_once(): Failed opening ‘/customers/f/5/9/freerundenmark.dk/httpd.www/Byteme/wp-content/plugins/wp-super-cache/ossdl-cdn.php’ for inclusion (include_path=’.:/usr/share/php’) in /customers/9/2/0/byte-me.dk/httpd.www/wp-content/plugins/wp-super-cache/wp-cache.php on line 82 Warning: Cannot modify header information – headers already sent by (output started at /customers/9/2/0/byte-me.dk/httpd.www/wp-content/plugins/wp-exec-php/wp-exec-php.php:151) in /customers/9/2/0/byte-me.dk/httpd.www/wp-includes/pluggable.php on line 1196
Seems like both WP Exec PHP and WP Super Cache are also having problems on your site. Try this:
- Disable all of your plugins, except for WPP.
- Visit one of your posts while logged out from wp-admin.
- Log back in and check the Stats section (Settings > WordPress Popular Posts).
If WPP was able to register your visit: at least one of your plugins is causing the issue. Enable them one by one and repeat the process until WPP stops working again. That way, you’ll find the culprit.
If WPP was unable to register your visit: the problem is being caused by something else (corrupted WordPress setup, issue on the server side, etc).
Let me know how it goes, alright?
It seems to be Polylang cause the problem
Ah, yes. Someone else some time ago also reported 500 server errors because of Polylang. There’s a workaround so both plugins can coexist.
That seems to resolve the issue ??
Thanks a lot ??
Btw another problem with the plugin and Polylang.
Now my top 5 most popular posts are
A
B
C
A
CThey show multiple times, since they are different posts because of languages, even though they are kinda the same.
Ideally the post in other languages than the one selected should not be shown.
Is there a fix for that already, or will it maybe come? ??
Not really sure, as I don’t know how Polylang works. If it’s as WPML, WPP should be able to unify the views count just fine – except for those posts that don’t have a translation in the default language.
Polylang works without making a multi site.
For every post, you can add one (or more) as translation and apply a language for that. When a visitor selects a language, it shows only posts in that language.You can see what I mean at https://www.byte-me.dk/en/
Not the most popular posts is one in danish, which should not be shown on the english site.And the 2nd-5th is only two different posts but in two different languages..
See where I’m going?
If I understand correctly, what you want is to have the plugin list the most popular posts in each language separately (most popular english posts vs most popular in danish). Is that correct?
No simply just leave out every post not in the chosen language.
As the link is for english, it should display the (5) most popular posts in english and nothing else..
Not it lists every post (since they have individual view counts). They look the same, cause polylang still choses the english title, even though the count for one of them is the danish one.
I see, thanks for the clarification!
That’s not possible for the moment, as of now WPP just calls WPML / Polylang methods to get the right title for the current language. If there’s no translation available, WPP will return the post title as is – as you already know.
The problem I have with excluding posts is that evidently the listing will get shorter which may not be the expected behavior. WPP would have to either offer a configurable option to let the user decide what happens when there are no translations available (“skip the post”, “list it anyways”, etc) or have WPP rerun to replenish the listing with new posts (which might cause a performance penalty under some circumstances).
By the way, both danish and english versions do share the views count – WPP will update the statistic of the original language since, after all, the translation belongs to the original post.
I see…
About the counts that doesn’t seem so..
My listing is:A-dl – 5 views/day
B-dk – 3
B-en – 2
C-en – 2
C-dk – 2B has different counts…
never the less, this was a suggestion for improvement later on if you like ??
I think the issue may resolve itself more or less when I get more articles, as long as I don’t get too many languages =)Thanks for your support in the first matter.
- The topic ‘Sorry, no data so far’ is closed to new replies.