• Resolved renemwor

    (@renemwor)


    When i try to update the plugin the site crashes completely!

    This is the error:

    Een fout van het type E_ERROR werd veroorzaakt op regelnummer 28 van het bestand /home/deb92361n4/domains/site/public_html/backup/wp-content/plugins/acf-frontend-form-element/main/oxygen/elements/general/frontend-form.php. Foutmelding: Uncaught Error: Call to a member function enqueue_scripts() on null in /home/deb92361n4/domains/site/public_html/backup/wp-content/plugins/acf-frontend-form-element/main/oxygen/elements/general/frontend-form.php:28

    Im using:
    WordPress version 6.0.1
    Actief theme: Twenty Twenty-Two (versie 1.2)
    Current plugin: Frontend Admin (for ACF) (versie 3.7.11)
    PHP version 8.0.21

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter renemwor

    (@renemwor)

    Fixed it myself in the file: frontend-form.php

    i replaced:

        function init() {
            fea_instance()->wp_hooks->enqueue_scripts( 'frontend_admin_form' );
    		fea_instance()->wp_hooks->acfdata( true );
        }
    

    By:

    
    function init() {
            acf_enqueue_scripts();
    
            //add_action("oxygen_default_classes_output", array( $this->El, "generate_defaults_css" ) );
    
            //add_filter("oxy_allowed_empty_options_list", array( $this, "allowedEmptyOptions") );
            //add_filter("oxygen_vsb_element_presets_defaults", array( $this, "presetsDefaults") );
    
        }
    • This reply was modified 2 years, 2 months ago by renemwor.
    Thread Starter renemwor

    (@renemwor)

    So please add these lines default in the new versions…

    • This reply was modified 2 years, 2 months ago by renemwor.
    Thread Starter renemwor

    (@renemwor)

    Oeps hold your horse.Frontend popup forms ain’t working anymore…so it’s still broken after the update and modification……cry cry…

    • This reply was modified 2 years, 2 months ago by renemwor.
    • This reply was modified 2 years, 2 months ago by renemwor.
    Plugin Author Shabti Kaplan

    (@shabti)

    Oh man sorry to hear that. Can you elaborate more on the Frontend popups error?

    Thread Starter renemwor

    (@renemwor)

    Hi Shabti, thanks for responding.

    Without the code modification the plugin crashes the site by the way.

    The popup buttons are complete gone after the update……

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Oxybuilder and version 3.7.11 crashes site’ is closed to new replies.