• Resolved frenchmedia

    (@frenchmedia)


    dear

    i updated your plugin and got a WSOD
    i looked at the error log and found out that
    Fatal error: Class already declared: Contact_Info_Widget in /www/myfrenchcity_354/public/wp-content/themes/Avada Theme/Avada/widgets/contact_info.php on line 9

    avada php

    can you check what is going on

    ?php
    add_action(‘widgets_init’, ‘contact_info_load_widgets’);

    function contact_info_load_widgets()
    {
    register_widget(‘Contact_Info_Widget’);
    }

    class Contact_Info_Widget extends WP_Widget {

    function Contact_Info_Widget()
    {
    $widget_ops = array(‘classname’ => ‘contact_info’, ‘description’ => ”);

    $control_ops = array(‘id_base’ => ‘contact_info-widget’);

    $this->WP_Widget(‘contact_info-widget’, ‘Avada: Contact Info’, $widget_ops, $control_ops);
    }

    https://ww.wp.xz.cn/plugins/wp-recaptcha-integration/

Viewing 1 replies (of 1 total)
  • Plugin Contributor podpirate

    (@podpirate)

    There ist no class Contact_Info_Widget in the recaptcha plugin. The fatal error must be caused by something else.

Viewing 1 replies (of 1 total)

The topic ‘Crsh avada contact.php’ is closed to new replies.