• Hello,

    after installing the plugin on a couple of my sites, a critical error appeared for every post containing the contents of the site, the homepage was not subject to any type of error.
    After uninstalling the plugin the error persisted forcing me to upload a backup but it seems that the problem persists whenever I try to update a plugin of my sites, it is possible to know how to uninstall or if for example it is necessary to manually delete parts of the plugin that are not deleted from the automatic procedure?
    The sites were not and still are not cached.

    If you need further information I will be happy to provide it if I am able.

    Best regards

    • This topic was modified 3 years, 9 months ago by dave8220.
Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Phil

    (@philsbury)

    Hi @dave8220,

    Do you have an error log message you can share? I’ve seen a couple of instances recently where other plugins are loading the same classes as age gate (Parsedown in particular) without checking it exists first which causes a fatal error.

    If you could share the error that’d be great.

    Thanks
    Phil

    Thread Starter dave8220

    (@dave8220)

    Hi Phil,

    thanks for your replay I ask help so to help you properly could you tell me where i can find the log for error message, I ask to my hosting to upload a previous version of the site but seems the issue remain, I meant if I upload a plugin the post page broke up.

    I’m not considering myself an expert user myself so I sorry for some question considered easy to fulfill
    both site give me this kind of issue
    error message

    Thread Starter dave8220

    (@dave8220)

    Sorry for replay soon

    for give you further information, I’m aware that seems the issue not related with your plugin but that start from the first installation of Age Gate, that kind of issue start, and even after the deletion of the plug in seems the sites are not return exactly as were they before that.

    Plugin Author Phil

    (@philsbury)

    Hi @dave8220,

    Might be worth adding a log viewer plugin to see exactly what’s causing the error,
    there’s a few available, this one seems to have the most installs/reviews

    Thread Starter dave8220

    (@dave8220)

    Hi Phil,

    I added it thanks that will be useful anyway, obv the log is empty for the first installation, the sites work properly right now but I’m aware the issue still remain

    Thread Starter dave8220

    (@dave8220)

    Hi,

    reading “I’ve seen a couple of instances recently where other plugins are loading the same classes as age gate (Parsedown in particular) without checking it exists first which causes a fatal error.” in case how could avoid that even after I delete Age gate?

    Actually my sites are working properly and to give you a log I should try an update for bring the error live, I would like to solve to be free to update the plugins again

    Thank you

    Thread Starter dave8220

    (@dave8220)

    [31-May-2021 01:27:20 UTC] PHP Notice: The plugin metadata file does not contain the required ‘name’ and/or ‘version’ keys. in /home/cumcamgi/cum2camboys.com/wp-content/plugins/adunblocker/admin/plugin-update-checker/Puc/v4p8/Metadata.php on line 42
    [31-May-2021 03:05:58 UTC] PHP Notice: Trying to get property ‘labels’ of non-object in /home/cumcamgi/cum2camboys.com/wp-content/themes/retrotube/inc/breadcrumbs.php on line 58
    [31-May-2021 03:05:59 UTC] PHP Notice: Trying to get property ‘singular_name’ of non-object in /home/cumcamgi/cum2camboys.com/wp-content/themes/retrotube/inc/breadcrumbs.php on line 58
    [31-May-2021 07:44:05 UTC] PHP Notice: The plugin metadata file does not contain the required ‘name’ and/or ‘version’ keys. in /home/cumcamgi/cum2camboys.com/wp-content/plugins/adunblocker/admin/plugin-update-checker/Puc/v4p8/Metadata.php on line 42
    [31-May-2021 07:44:39 UTC] PHP Notice: Array to string conversion in /home/cumcamgi/cum2camboys.com/wp-content/plugins/health-check/includes/class-health-check-site-status.php on line 2014
    [31-May-2021 07:44:39 UTC] PHP Notice: Array to string conversion in /home/cumcamgi/cum2camboys.com/wp-content/plugins/health-check/includes/class-health-check-site-status.php on line 2014
    [31-May-2021 07:44:39 UTC] PHP Notice: Array to string conversion in /home/cumcamgi/cum2camboys.com/wp-content/plugins/health-check/includes/class-health-check-site-status.php on line 2014
    [31-May-2021 07:44:39 UTC] PHP Notice: Array to string conversion in /home/cumcamgi/cum2camboys.com/wp-content/plugins/health-check/includes/class-health-check-site-status.php on line 2014
    [31-May-2021 07:44:39 UTC] PHP Notice: Array to string conversion in /home/cumcamgi/cum2camboys.com/wp-content/plugins/health-check/includes/class-health-check-site-status.php on line 2014
    [31-May-2021 07:44:39 UTC] PHP Notice: Array to string conversion in /home/cumcamgi/cum2camboys.com/wp-content/plugins/health-check/includes/class-health-check-site-status.php on line 2014
    [31-May-2021 07:44:39 UTC] PHP Notice: Array to string conversion in /home/cumcamgi/cum2camboys.com/wp-content/plugins/health-check/includes/class-health-check-site-status.php on line 2014
    [31-May-2021 07:44:39 UTC] PHP Notice: Array to string conversion in /home/cumcamgi/cum2camboys.com/wp-content/plugins/health-check/includes/class-health-check-site-status.php on line 2014
    [31-May-2021 07:44:39 UTC] PHP Notice: Array to string conversion in /home/cumcamgi/cum2camboys.com/wp-content/plugins/health-check/includes/class-health-check-site-status.php on line 2014
    [31-May-2021 07:44:39 UTC] PHP Notice: Array to string conversion in /home/cumcamgi/cum2camboys.com/wp-content/plugins/health-check/includes/class-health-check-site-status.php on line 2014
    [31-May-2021 07:44:39 UTC] PHP Notice: Array to string conversion in /home/cumcamgi/cum2camboys.com/wp-content/plugins/health-check/includes/class-health-check-site-status.php on line 2014
    [31-May-2021 07:44:39 UTC] PHP Notice: Array to string conversion in /home/cumcamgi/cum2camboys.com/wp-content/plugins/health-check/includes/class-health-check-site-status.php on line 2014
    [31-May-2021 07:44:39 UTC] PHP Notice: Array to string conversion in /home/cumcamgi/cum2camboys.com/wp-content/plugins/health-check/includes/class-health-check-site-status.php on line 2014
    [31-May-2021 07:44:39 UTC] PHP Notice: Array to string conversion in /home/cumcamgi/cum2camboys.com/wp-content/plugins/health-check/includes/class-health-check-site-status.php on line 2014
    [31-May-2021 07:46:33 UTC] PHP Notice: wp_ajax_health_check_get_sizes was called incorrectly. The Site Health check for wp_ajax_health_check_get_sizes has been replaced with WP_REST_Site_Health_Controller::get_directory_sizes. Please see Debugging in WordPress for more information. (This message was added in version 5.6.0.) in /home/cumcamgi/cum2camboys.com/wp-includes/functions.php on line 5313
    [31-May-2021 07:50:04 UTC] PHP Fatal error: Uncaught Error: Call to undefined function xbox_get_field_value() in /home/cumcamgi/cum2camboys.com/wp-content/themes/retrotube/functions.php:496
    Stack trace:
    #0 /home/cumcamgi/cum2camboys.com/wp-includes/class-wp-hook.php(294): wpst_auto_enable_registration(NULL)
    #1 /home/cumcamgi/cum2camboys.com/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters(”, Array)
    #2 /home/cumcamgi/cum2camboys.com/wp-includes/plugin.php(484): WP_Hook->do_action(Array)
    #3 /home/cumcamgi/cum2camboys.com/wp-includes/general-template.php(38): do_action(‘get_header’, NULL, Array)
    #4 /home/cumcamgi/cum2camboys.com/wp-content/themes/retrotube/index.php(1): get_header()
    #5 /home/cumcamgi/cum2camboys.com/wp-includes/template-loader.php(106): include(‘/home/cumcamgi/…’)
    #6 /home/cumcamgi/cum2camboys.com/wp-blog-header.php(19): require_once(‘/home/cumcamgi/…’)
    #7 /home/cumcamgi/cum2camboys.com/index.php(17): require(‘/home/cumcamgi/…’)
    #8 {main}
    thrown in /home/cumcamgi/cum2camboys.com/wp-content/themes/retrotube/functions.php on line 496

    here after the plugin is update

    Fatal error: Uncaught Error: Call to undefined function str_get_html() in /home/cumcamgi/cum2camboys.com/wp-content/plugins/wps-livejasmin/public/actions.php:101
    
    Stack Trace
    1.	
    lvjm_set_embed_redirect('<div class="pla...', 74, 'embed', true)
    /home/cumcamgi/cum2camboys.com/wp-includes/class-wp-hook.php:294
    2.	
    WP_Hook->apply_filters(NULL, Array)
    /home/cumcamgi/cum2camboys.com/wp-includes/plugin.php:212
    3.	
    apply_filters('get_post_metada...', NULL, 74, 'embed', true, 'post')
    /home/cumcamgi/cum2camboys.com/wp-includes/meta.php:564
    4.	
    get_metadata_raw('post', 74, 'embed', true)
    /home/cumcamgi/cum2camboys.com/wp-includes/meta.php:506
    5.	
    get_metadata('post', 74, 'embed', true)
    /home/cumcamgi/cum2camboys.com/wp-includes/post.php:2226
    6.	
    get_post_meta(74, 'embed', true)
    /home/cumcamgi/cum2camboys.com/wp-content/themes/retrotube/template-parts/content-video-player.php:147
    7.	
    require('/home/cumcamgi/...')
    /home/cumcamgi/cum2camboys.com/wp-includes/template.php:732
    8.	
    /home/cumcamgi/cum2camboys.com/wp-includes/template. in /home/cumcamgi/cum2camboys.com/wp-content/plugins/wps-livejasmin/public/actions.php on line 101
    Plugin Author Phil

    (@philsbury)

    Hi @dave8220,

    The fatal error you are getting it this:

    
    [31-May-2021 07:50:04 UTC] PHP Fatal error: Uncaught Error: Call to undefined function xbox_get_field_value() in /home/cumcamgi/cum2camboys.com/wp-content/themes/retrotube/functions.php:496
    Stack trace:
    #0 /home/cumcamgi/cum2camboys.com/wp-includes/class-wp-hook.php(294): wpst_auto_enable_registration(NULL)
    #1 /home/cumcamgi/cum2camboys.com/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters(”, Array)
    #2 /home/cumcamgi/cum2camboys.com/wp-includes/plugin.php(484): WP_Hook->do_action(Array)
    #3 /home/cumcamgi/cum2camboys.com/wp-includes/general-template.php(38): do_action(‘get_header’, NULL, Array)
    #4 /home/cumcamgi/cum2camboys.com/wp-content/themes/retrotube/index.php(1): get_header()
    #5 /home/cumcamgi/cum2camboys.com/wp-includes/template-loader.php(106): include(‘/home/cumcamgi/…’)
    #6 /home/cumcamgi/cum2camboys.com/wp-blog-header.php(19): require_once(‘/home/cumcamgi/…’)
    #7 /home/cumcamgi/cum2camboys.com/index.php(17): require(‘/home/cumcamgi/…’)
    #8 {main}
    thrown in /home/cumcamgi/cum2camboys.com/wp-content/themes/retrotube/functions.php on line 496

    `

    Looks like this is an issue in retrotube/functions.php calling xbox_get_field_value() which isn’t an age gate thing. There’s no mention of age gate anywhere in those logs so don’t think this is an age gate issue. Might be best to reach out to the theme developer. Seems to be a lot of odd errors in that log, but again, none seem linked to age gate.

    Thanks
    Phil

    • This reply was modified 3 years, 9 months ago by Phil.
Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘[NSFW] Critical error after installing the plugin’ is closed to new replies.