• Dear WordPress people,

    BLDR V1.2.6 causes WordPress to crash with a Citical Error when running under PHP8+. This is because the theme uses deprecated PHP4-style constructors for registering custom widgets. The resulting error is “Fatal error: Uncaught ArgumentCountError: Too few arguments to function WP_Widget::__construct()”.

    I have changed the constructors of all classes extending from WP_Widget and this seems to resolve the issue. At least the theme loads again. If there
    are any side effects I do not know; I know very little of WordPress but was
    asked to fix the ancient site of a friend of mine.

    Is someone knows how to contact the developers and/or have them merge the fixed code in SVN let me know. Also if you want a patched version of the 1.2.6 distribution so you can deploy it, drop me an email.

    Regards, Bas de Witte (bw AT freedom.nl)

    • This topic was modified 2 years, 2 months ago by basdewitte. Reason: The topic did not appear under https://www.ads-software.com/support/theme/bldr/ and as a result the title was ambiguous

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

  • The topic ‘Eliminated WP crash due to BLDR theme PHP8 incompatability’ is closed to new replies.