• Resolved drumlerry

    (@drumlerry)


    Hi Brecht – today i was attempting to move my site from php7.4 to php8 but move was not successful (I could not login to admin) and had to revert to 7.4.

    It may be that dynamic-widget-content is not compatible with php8

    An error of type E_ERROR was caused in line 57 of the file /home/dc374/public_html/wp-content/plugins/dynamic-widget-content/vendor/vafpress/bootstrap.php. Error message: Uncaught Error: Attempt to modify property “plugins” on null in /home/dc374/public_html/wp-content/plugins/dynamic-widget-content/vendor/vafpress/bootstrap.php:57

    Hope you can help

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

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Brecht

    (@brechtvds)

    Hi there,

    The plugin should be fully compatible with PHP 8. It also runs fine on this test site, with only Dynamic Widget Content active: https://app.instawp.io/wordpress-auto-login?site=$2y$10$VKETmbDhEHBVz3eXh1cSoeOXHisa1DwIZitnxKp2NkxexOZmzX68y

    It could be due to a compatibility problem with another plugin. Does it work if other plugins are deactivated for a second?

    Thread Starter drumlerry

    (@drumlerry)

    Thanks for quick update Brecht.

    I should have included the full details – I’m not sure if this gives you more info

    When seeking help with this issue, you may be asked for some of the following information:
    WordPress version 6.4.2
    Active theme: Listable Child (version )
    Current plugin: Dynamic Widget Content (version 1.3.6)
    PHP version 8.1.27 Error Details
    =============
    An error of type E_ERROR was caused in line 57 of the file /home/dc374/public_html/wp-content/plugins/dynamic-widget-content/vendor/vafpress/bootstrap.php. Error message: Uncaught Error: Attempt to modify property "plugins" on null in /home/dc374/public_html/wp-content/plugins/dynamic-widget-content/vendor/vafpress/bootstrap.php:57
    Stack trace:
    #0 /home/dc374/public_html/wp-includes/class-wp-hook.php(324): vp_tgm_ac_vafpress_check('')
    #1 /home/dc374/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array)
    #2 /home/dc374/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #3 /home/dc374/public_html/wp-content/plugins/pixelgrade-care/includes/modules/required-plugins/class-pxg-plugin-activation.php(153): do_action('tgmpa_register')
    #4 /home/dc374/public_html/wp-includes/class-wp-hook.php(324): PXG_Plugin_Activation->init('')
    #5 /home/dc374/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
    #6 /home/dc374/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #7 /home/dc374/public_html/wp-settings.php(643): do_action('init')
    #8 /home/dc374/public_html/wp-config.php(84): require_once('/home/dc374/pub...')
    #9 /home/dc374/public_html/wp-load.php(50): require_once('/home/dc374/pub...')
    #10 /home/dc374/public_html/wp-admin/admin.php(34): require_once('/home/dc374/pub...')
    #11 /home/dc374/public_html/wp-admin/index.php(10): require_once('/home/dc374/pub...')
    #12 {main}
      thrown
    Plugin Author Brecht

    (@brechtvds)

    Could you test if things work when no other plugins are active and/or using a default theme?

    If so, you can enable things one by one again to figure out where the compatibility problem is.

    Thread Starter drumlerry

    (@drumlerry)

    Hi Brecht

    I tried disabling plugins and i found one that may have been causing the error – Pixelgrade Care

    I disabled this plugin and was able to update to php8.1

    Plugin Author Brecht

    (@brechtvds)

    Happy to hear it works then. Not familiar with that plugin. Is it something you need?

    Thread Starter drumlerry

    (@drumlerry)

    I’m not sure – but we’ll see how it goes

    I’m using it with Listable – a theme by Pixelgrade

    https://pixelgrade.com/themes/directory-listings/listable/

    tobiashartmann77

    (@tobiashartmann77)

    Dear all, I have a wedding Website from 2016 that I would like to keep. I used a WP theme called Lovey Dovey. Lovey Dovey Wedding WordPress Theme | Themes Directory (mhthemes.com) Apparently, this one is based on Vafpress (? – I am not an expert). My Web hoster asks me to upgrade to php 8.1. Unfortunately, the theme seems to be incompatible to php 8.x. I can’t login into the WordPress admin interface once I switch to php 8 at the admin page of my Web hoster. The actual Web site isn’t working fully either. I have already disabled all plugins, but this doesn’t seem to work either. Are that any hints you could give me? Thank you very much!

    Plugin Author Brecht

    (@brechtvds)

    Hi @tobiashartmann77

    This is the support forum for the Dynamic Widget Content plugin. Your question/issue doesn’t seem to be related to that plugin?

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘PHP 8.0’ is closed to new replies.