• Resolved clabsim

    (@clabsim)


    Hi, everyone
    My whole page crashes when I Activate the EBD plugin. This error text appears:

    Fatal error: Uncaught Error: Call to a member function getAttribute() on null in /homepages/24/d284108914/htdocs/clickandbuilds/SENSIA/wp-content/plugins/email-before-download/includes/class-email-before-download-form.php:39 Stack trace: #0 /homepages/24/d284108914/htdocs/clickandbuilds/SENSIA/wp-content/plugins/email-before-download/includes/class-email-before-download-shortcode.php(68): Email_Before_Download_Form->html() #1 /homepages/24/d284108914/htdocs/clickandbuilds/SENSIA/wp-includes/shortcodes.php(356): Email_Before_Download_Shortcode->init_shortcode(Array, '', 'email-download') #2 [internal function]: do_shortcode_tag(Array) #3 /homepages/24/d284108914/htdocs/clickandbuilds/SENSIA/wp-includes/shortcodes.php(228): preg_replace_callback('/\\[(\\[?)(email\\...', 'do_shortcode_ta...', '\n<p style="text...') #4 /homepages/24/d284108914/htdocs/clickandbuilds/SENSIA/wp-content/plugins/fusion-builder/shortcodes/fusion-modal.php(150): do_shortcode('\n<p style="text...') #5 /homepages/24/d284108914/htdocs/clickandbuilds/SE in /homepages/24/d284108914/htdocs/clickandbuilds/SENSIA/wp-content/plugins/email-before-download/includes/class-email-before-download-form.php on line 39
    There has been a critical error on this website.

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author mandsconsulting

    (@mandsconsulting)

    Hi @clabsim,
    Thank you for reaching out. Could you please provide the following 3 items to help us troubleshoot your issue?

    1. Shortcode and a URL showing the WordPress Download Monitor working successfully
    2. Shortcode and a URL showing the Contact Form 7 working successfully
    3. Shortcode and a URL showing the Email Before Download failing

    Thread Starter clabsim

    (@clabsim)

    Hello and thank you for your support
    Hope this helps you finding out.

    Here ir the page where the error was caught (https://www.sensia-solutions.com/wp-admin/post.php)

    WordPress version 5.8
    Current theme: Avada (version 7.4.1)
    Current plugin: Email Before Download (version 6.6)
    PHP version 7.4.21

    Error Details
    =============
    An error of type E_ERROR was caused in line 39 of the file /homepages/24/d284108914/htdocs/clickandbuilds/SENSIA/wp-content/plugins/email-before-download/includes/class-email-before-download-form.php. Error message: Uncaught Error: Call to a member function getAttribute() on null in /homepages/24/d284108914/htdocs/clickandbuilds/SENSIA/wp-content/plugins/email-before-download/includes/class-email-before-download-form.php:39
    Stack trace:
    #0 /homepages/24/d284108914/htdocs/clickandbuilds/SENSIA/wp-content/plugins/email-before-download/includes/class-email-before-download-shortcode.php(68): Email_Before_Download_Form->html()
    #1 /homepages/24/d284108914/htdocs/clickandbuilds/SENSIA/wp-includes/shortcodes.php(356): Email_Before_Download_Shortcode->init_shortcode(Array, ”, ’email-download’)
    #2 [internal function]: do_shortcode_tag(Array)
    #3 /homepages/24/d284108914/htdocs/clickandbuilds/SENSIA/wp-includes/shortcodes.php(228): preg_replace_callback(‘/\\[(\\[?)(email\\…’, ‘do_shortcode_ta…’, ‘\n`

    DOWNLOAD MONITOR PLUG IN

    <?php
    /*
    	Plugin Name: Download Monitor
    	Plugin URI: https://www.download-monitor.com
    	Description: A full solution for managing and selling downloadable files, monitoring downloads and outputting download links and file information on your WordPress powered site.
    	Version: 4.4.4
    	Author: WPChill
    	Author URI: https://wpchill.com
    	Requires at least: 5.4
    	Tested up to: 5.7
    	Text Domain: download-monitor
    
    	License: GPL v3
    
    	This program is free software: you can redistribute it and/or modify
    	it under the terms of the GNU General Public License as published by
    	the Free Software Foundation, either version 3 of the License, or
    	(at your option) any later version.
    
    	This program is distributed in the hope that it will be useful,
    	but WITHOUT ANY WARRANTY; without even the implied warranty of
    	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    	GNU General Public License for more details.
    
    	You should have received a copy of the GNU General Public License
    	along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    	Original project created by Mike Jolley.
    */
    
    if ( ! defined( 'ABSPATH' ) ) {
    	exit;
    } // Exit if accessed directly
    
    // Define DLM Version
    define( 'DLM_VERSION', '4.4.4' );
    
    // Define DLM FILE
    define( 'DLM_PLUGIN_FILE', __FILE__ );
    
    if ( version_compare( PHP_VERSION, '5.3.0' ) >= 0 ) {
    	require_once plugin_dir_path( DLM_PLUGIN_FILE ) . 'includes/bootstrap.php';
    }else {
    	require_once plugin_dir_path( DLM_PLUGIN_FILE ) . 'includes/php-too-low.php';
    }

    CONTACT FORM CODE

    [email-download download_id=”9099” contact_form_id=”1859”]

    Plugin Author mandsconsulting

    (@mandsconsulting)

    Hi @clabsim,

    Upon further investigation, it appears you may not have the mbstring php extension installed on your site. Can you confirm this for us?

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Fatal error: Uncaught Error’ is closed to new replies.