• Resolved puresuze

    (@puresuze)


    I downloaded the plugin yesterday but the page and view information is not loading. It also does not seem to refresh when i change the time period to 7 days or today. I tried downloading the small fix from a month ago but unfortunately this did not work. Any ideas?

    The page I need help with: [log in to see the link]

Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Author Ben Sibley

    (@bensibley)

    Hi there,

    Thanks for trying Independent Analytics!

    Could you check your error log for any recent errors coming from the Independent Analytics plugin? If you don’t have error logging enabled, you can follow the steps here, and then you’ll find the debug.log file in the site’s wordpress/wp-content/ folder.

    Plugin Author Ben Sibley

    (@bensibley)

    Since we haven’t heard back from you, I’m going to mark this as resolved, but please let me know if you need any further assistance.

    Thread Starter puresuze

    (@puresuze)

    Hi Ben,

    Apologies – I responded by email rather than here. Please leave the ticket open. I am still having trouble loading page information. I will request debugging ionfo from my provider. Please give me an hour or two.

    Many thanks!

    Thread Starter puresuze

    (@puresuze)

    I checked with the provider and it’s not loading for them either. However, there are no errors in the website logs. Here is an output of the website console:?https://img.namecheap.com/bN9sSVPV1vNCBCVGktW9eV.png

    Is there anything else you need?

    Plugin Author Ben Sibley

    (@bensibley)

    I’m so sorry if I missed your email. If you’d like to try reaching out to me directly, it’s [email protected].

    The screenshot is very helpful thank you. It looks like there is a 500 error on the Ajax request, and this means that there is a PHP error occurring when the table is loading. I think the host must have checked a different error log because there should be a message in the PHP error log and that will point to the root cause of this issue.

    Could you check for a “fatal error” coming from our plugin in the debug log located here in your files: wordpress/wp-content/debug.log.

    If you don’t see that file or there aren’t recent errors, you may need to enable debugging first. We have a tutorial on how to do that here.

    Thanks for your continued patience with this.

    • This reply was modified 1 year, 6 months ago by Ben Sibley.
    Thread Starter puresuze

    (@puresuze)

    Magic! Thanks Ben. I really appreciate your help!

    Thread Starter puresuze

    (@puresuze)

    The logs were regenerated and here is what they came up with:

    2023/09/13 00:24:37 [error] 629017#629017: *13536 FastCGI sent in stderr: “PHP message: PHP Warning: Attempt to read property “query_var” on bool in /var/www/wptbox/wp-includes/taxonomy.php on line 4620PHP message: PHP Warning: Attempt to read property “labels” on bool in /var/www/wptbox/wp-includes/taxonomy.php on line 667PHP message: PHP Fatal error: Uncaught Error: Attempt to assign property “labels” on bool in /var/www/wptbox/wp-includes/taxonomy.php:667
    Stack trace: 0 /var/www/wptbox/wp-content/plugins/independent-analytics/IAWP/Models/Page_Term_Archive.php(44): get_taxonomy_labels() 1 /var/www/wptbox/wp-content/plugins/independent-analytics/IAWP/Models/Page.php(102): IAWP_SCOPED\IAWP\Models\Page_Term_Archive->calculate_type_label() 2 /var/www/wptbox/wp-content/plugins/independent-analytics/IAWP/Tables/Table.php(85): IAWP_SCOPED\IAWP\Models\Page->type() 3 /var/www/wptbox/wp-content/plugins/independent-analytics/vendor/league/plates/src/Template/Func.php(85): IAWP_SCOPED\IAWP\Tables\Table->get_row_data_attributes() 4 /var/www/wptbox/wp-content/plugins/independent-analytics/vendor/league/plates/src/Template/Template.php(83): IAWP_SCOPED\League\Plates\Template\Func->call() 5 /var/www/wptbox/wp-content/plugins/independent-analytics/templates/table/index.php(38): IAWP_SCOPED\League\Plates\Template\Template->_” while reading response header from upstream, server: , request: “POST /wp-admin/admin-ajax.php HTTP/1.1”, upstream: “fastcgi://unix:/var/run/php-fpm-default-two.sock:”, host: “pureelement5.com”, referrer: “https://pureelement5.com/wp-admin/admin.php?page=independent-analytics&group&chart_interval=daily&relative_range=LAST_THIRTY&filters=W10%3D&cols=title%2Cvisitors%2Cviews%2Caverage_view_duration%2Cbounce_rate%2Curl%2Ctype&visible_datasets=visitors%2Cviews”

    Plugin Author Ben Sibley

    (@bensibley)

    Thank you! That’s very helpful.

    I’m having a hard time recreating this same error, but it looks like there’s something off with the configuration of a custom post type on the site. In particular, it looks like there’s an issue with the labels of the post type or its custom taxonomy.

    If you have a code snippet on your site to register a custom post type then I would recommend reviewing that code for errors. Otherwise, it could be a conflict with another plugin on the site. You could temporarily deactivate other plugins on the site to make sure this fixes the analytics, and then re-activate each plugin until the error returns.

    Thread Starter puresuze

    (@puresuze)

    The only thing I have changed on the settings page was to tick ‘admin’ to exclude my visits. All the other boxes are currently empty. Will this make a difference?

    Plugin Author Ben Sibley

    (@bensibley)

    No, that shouldn’t make a difference. The error is coming from an issue with a custom post type on the site. For instance, when you’re in the WP admin dashboard, there’s normally a menu for Posts and Pages, but you can add more post types there with a plugin, like the way WooCommerce adds a Products menu. It sounds like there’s a plugin on the site that has added a new post type, but there’s an issue with the configuration.

    In the analytics dashboard, our plugin is trying to get the name of this post type, and it’s returning “false” instead of the name, and that’s ultimately what’s breaking things.

    As a first step, if you temporarily deactivate other plugins on your site, there’s a good chance that will fix the dashboard, and then you can reactivate them one by one until the error returns.

    Thread Starter puresuze

    (@puresuze)

    Wow – thank you for such a detailed explanation. I understand now and will see what I can do.

    Thread Starter puresuze

    (@puresuze)

    I deleted any unused post types and cannot see any new ones. I’m not sure if it helps but even when I try to select “TODAY” as an option, I get perpetual searching but no result.

    Plugin Author Ben Sibley

    (@bensibley)

    Could you try deactivating all other plugins on the site and check if that helps? You won’t lose any data or settings when deactivating them.

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Plugin not loading pages’ is closed to new replies.