Follow us on

Codestar Support Forum » WordPress Plugins » Codestar Framework

PHP8 throws a fatal error as Elementor hook callback method is not static

  1. Hi,

    CodeStar Plugin adds elementor hook named "elementor/editor/footer" in there given callback function context is static but actual function is not method like below,
    add_action( 'elementor/editor/footer', array( 'CSF_Field_icon', 'add_footer_modal_icon' ) );

    Changing the 'add_footer_modal_icon' method to static would solve this problem.

    Posted 2 years ago #

  2. Codestar


    Yes, thanks for contribute. It fixed now. and you can try this version until update it:

    Also WP 5.8 widgets issue fixed.

    Regards, Codestar

    Posted 2 years ago #