Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
I have diferent content types of newsletter, but in one of these types don't show the statistics in the statistics page and in the "Newsletter Overview", "Newsletter clicks" and "Newsletter Summary" tabs I recibe an "Acces denied" error.
In the "Newsletter Opens" I don't recibe any error but the content don't display.
I check the views of statistics and don't return any data but the database tables content this data.
Anybody help me please.
Thanx in advance!
;)
Comments
Comment #2
Joel_XN CreditAttribution: Joel_XN commentedAny help?
Comment #3
dieuweHey Joel_XN, I can't remember what problems this module has when using content types that aren't the "default" one, it might even be set up in such a way that it assumes you are using the default content type. It has been a few years since I worked on this module and I never used in the the scenario you are describing.
I am afraid that I don't have the time right now to try follow your steps to replicate. You'll either have to debug it yourself or find someone with some experience and spare time to help you provide a solution. Sorry.
Comment #4
extrarumeno CreditAttribution: extrarumeno commentedHi
same error.... :(
Comment #5
jazzitup CreditAttribution: jazzitup commentedThe error appears when trying to render a view in
views_embed_view
fromViews
module:views.module
:Therefore,
simplenews_statistics_embed_view()
always return aNULL
object from thesimplenews_statistics.pages.inc
:Comment #6
jazzitup CreditAttribution: jazzitup commentedI played with it more and it seems like the main issue is with the definition of the arguments.
view.inc
View
simplenews_statistics_overview
returns FALSE at the very last line from above. Interesting comment in Views module, btw.Comment #7
bertuuk CreditAttribution: bertuuk as a volunteer commentedI arrive very late to this thread, but I had the same problem and I have solved it by adding the content type to the contextual filters (in the advanced tab) of the following views:
simplenews_statistics_overview
simplenews_statistics_clicks
simplenews_statistics_clicks_summary
simplenews_statistics_opens
I hope it helps you