Whoops! There was an error.
Error
Class 'Forminator_Custom_Form_Model' not found Error thrown with message "Class 'Forminator_Custom_Form_Model' not found" Stacktrace: #6 Error in /home/dsi/public_html/content/themes/dsi/includes/layouts/contact-form.php:35 #5 include in /home/dsi/public_html/content/themes/dsi/class/src/Modules/Builder.php:51 #4 Probots\Modules\Builder:getModuleHtml in /home/dsi/public_html/content/themes/dsi/class/src/Modules/Builder.php:27 #3 Probots\Modules\Builder:build in /home/dsi/public_html/content/themes/dsi/page.php:12 #2 include in /home/dsi/public_html/wp/wp-includes/template-loader.php:106 #1 require_once in /home/dsi/public_html/wp/wp-blog-header.php:19 #0 require in /home/dsi/public_html/index.php:17
Stack frames (7)
6
Error
/home/dsi/public_html/content/themes/dsi/includes/layouts/contact-form.php35
5
include
/home/dsi/public_html/content/themes/dsi/class/src/Modules/Builder.php51
4
Probots\Modules\Builder getModuleHtml
/home/dsi/public_html/content/themes/dsi/class/src/Modules/Builder.php27
3
Probots\Modules\Builder build
/home/dsi/public_html/content/themes/dsi/page.php12
2
include
/home/dsi/public_html/wp/wp-includes/template-loader.php106
1
require_once
/home/dsi/public_html/wp/wp-blog-header.php19
0
require
/home/dsi/public_html/index.php17
/home/dsi/public_html/content/themes/dsi/includes/layouts/contact-form.php
            <div class="o-grid__col u-push-1/12@md u-4/12@md">
                <div class="f-h1 u-pt--triple u-pb--triple u-pb--reset@md">
                    <?= $contact_headline ?>
                </div>
            </div>
            <div class="o-grid__col u-1/12 rel">
                <div class="fiftypercent-seperator"></div>
            </div>
            <div class="o-grid__col u-push-1/12@md u-4/12@md">
                <div class="u-pb u-pv--triple@md f-body-bold">
                    <?= $contactfields_description ?>
                </div>
            </div>
        </div>
        <div class="o-grid o-grid--rev">
            <div class="o-grid__col u-pull-1/12@md u-4/12@md">
 
                <form class="contactform-form js-contactform u-pb--triple">
                    <?php
                    $model = Forminator_Custom_Form_Model::model()->load($formId);
 
                    $fields = $model->fields;
 
                    ?>
 
                    <?php foreach ($fields as $field) : ?>
                    <div class="contactform-form-field contactform-form-field--<?= $field->type; ?> js-contactform-field">
                        <?php if ($field->type !== 'checkbox') : ?>
                            <label class="contactform-label f-uc f-infotext-bold" for="<?= $field->slug ?>">
                                <?= $field->field_label; ?>
                            </label>
                        <?php endif; ?>
                        <?php switch ($field->type) :
                            case 'text':
                            case 'name':
                            case 'phone':
                            case 'email':
                                ?>
                                <input
                                    class="contactform-form-field-input f-body contactform-form-field-input--text"
Arguments
  1. "Class 'Forminator_Custom_Form_Model' not found"
    
/home/dsi/public_html/content/themes/dsi/class/src/Modules/Builder.php
            print $content;
 
 
 
            wp_reset_postdata();
        }
    }
 
    private function getModuleHtml($layout, $variables)
    {
        $fileName = sprintf('%s.php', $layout);
        $filePath = sprintf('%s/%s/%s', get_template_directory(), $this->layoutDir, $fileName);
 
        if (!file_exists($filePath)) {
            print 'MODULE LAYOUT NOT FOUND IN: ' . $filePath;
            return;
        }
        extract($variables);
 
        include($filePath);
    }
 
    private function getDebugHtml($layout, $variables)
    {
        if (!isset($_GET['debug-modules'])) {
            return;
        }
        printf("<div>");
        print '<pre>';
        print_r($variables);
        print '</pre>';
        printf("</div>");
    }
 
    private function getModules()
    {
        return \get_field($this->acfModulesFieldKey) ?: [];
    }
 
    private function getLayoutName($module)
/home/dsi/public_html/content/themes/dsi/class/src/Modules/Builder.php
    private $moduleClassName = 'module';
    private $layoutDir = './';
 
    public function build()
    {
        $modules = $this->getModules();
 
        foreach ($modules as $module) {
            $layout = $this->getLayoutName($module);
            $variables = $module;
            unset($variables[$this->acfLayoutFieldKey]);
            $variables['layout'] = $layout;
 
            $baseClassName = $this->moduleClassName;
            $layoutClassName = $baseClassName . "--" . $layout;
 
            ob_start();
            printf("<div class=\"%s %s\">\n", $baseClassName, $layoutClassName);
            $this->getDebugHtml($layout, $variables);
            $this->getModuleHtml($layout, $variables);
 
            print("</div>\n");
            $content = ob_get_clean();
 
            print $content;
 
 
 
            wp_reset_postdata();
        }
    }
 
    private function getModuleHtml($layout, $variables)
    {
        $fileName = sprintf('%s.php', $layout);
        $filePath = sprintf('%s/%s/%s', get_template_directory(), $this->layoutDir, $fileName);
 
        if (!file_exists($filePath)) {
            print 'MODULE LAYOUT NOT FOUND IN: ' . $filePath;
            return;
Arguments
  1. "contact-form"
    
  2. array:10 [
      "contact_headline" => "Contact"
      "contactfields_description" => "DSI is the specialised leader in downhole bypass tool technology and is able to cater to service customers‘ needs worldwide."
      "sub_headline" => ""
      "text" => "Do not hesitate to contact us if you have questions. Please use the form and fill in the blanks. "
      "image" => array:24 [
        "ID" => 242
        "id" => 242
        "title" => "About DSI 2"
        "filename" => "about-dsi-4.png"
        "filesize" => 294871
        "url" => "https://www.dsi-pbl.com/media/2019/12/about-dsi-4.png"
        "link" => "http://www.dsi-pbl.com/about-dsi/about-dsi-4/"
        "alt" => "About DSI 2"
        "author" => "4"
        "description" => ""
        "caption" => ""
        "name" => "about-dsi-4"
        "status" => "inherit"
        "uploaded_to" => 52
        "date" => "2019-12-18 07:47:54"
        "modified" => "2019-12-18 07:47:56"
        "menu_order" => 0
        "mime_type" => "image/png"
        "type" => "image"
        "subtype" => "png"
        "icon" => "http://www.dsi-pbl.com/wp/wp-includes/images/media/default.png"
        "width" => 1440
        "height" => 900
        "sizes" => array:63 [
          "thumbnail" => "https://www.dsi-pbl.com/media/2019/12/about-dsi-4-150x150.png"
          "thumbnail-width" => 150
          "thumbnail-height" => 150
          "medium" => "https://www.dsi-pbl.com/media/2019/12/about-dsi-4-300x188.png"
          "medium-width" => 300
          "medium-height" => 188
          "medium_large" => "https://www.dsi-pbl.com/media/2019/12/about-dsi-4-768x480.png"
          "medium_large-width" => 768
          "medium_large-height" => 480
          "large" => "https://www.dsi-pbl.com/media/2019/12/about-dsi-4-1024x640.png"
          "large-width" => 1024
          "large-height" => 640
          "1536x1536" => "https://www.dsi-pbl.com/media/2019/12/about-dsi-4.png"
          "1536x1536-width" => 1440
          "1536x1536-height" => 900
          "2048x2048" => "https://www.dsi-pbl.com/media/2019/12/about-dsi-4.png"
          "2048x2048-width" => 1440
          "2048x2048-height" => 900
          "col_logo" => "https://www.dsi-pbl.com/media/2019/12/about-dsi-4-800x500.png"
          "col_logo-width" => 800
          "col_logo-height" => 500
          "news_grid" => "https://www.dsi-pbl.com/media/2019/12/about-dsi-4-300x166.png"
          "news_grid-width" => 300
          "news_grid-height" => 166
          "full_map" => "https://www.dsi-pbl.com/media/2019/12/about-dsi-4.png"
          "full_map-width" => 1440
          "full_map-height" => 900
          "full_screen" => "https://www.dsi-pbl.com/media/2019/12/about-dsi-4.png"
          "full_screen-width" => 1440
          "full_screen-height" => 900
          "full_mobile" => "https://www.dsi-pbl.com/media/2019/12/about-dsi-4-768x900.png"
          "full_mobile-width" => 768
          "full_mobile-height" => 900
          "contactform_image" => "https://www.dsi-pbl.com/media/2019/12/about-dsi-4-450x280.png"
          "contactform_image-width" => 450
          "contactform_image-height" => 280
          "footer_icon" => "https://www.dsi-pbl.com/media/2019/12/about-dsi-4-50x50.png"
          "footer_icon-width" => 50
          "footer_icon-height" => 50
          "producthead_desktop_sm" => "https://www.dsi-pbl.com/media/2019/12/about-dsi-4-400x700.png"
          "producthead_desktop_sm-width" => 400
          "producthead_desktop_sm-height" => 700
          "producthead_desktop_md" => "https://www.dsi-pbl.com/media/2019/12/about-dsi-4-880x900.png"
          "producthead_desktop_md-width" => 880
          "producthead_desktop_md-height" => 900
          "producthead_desktop_lg" => "https://www.dsi-pbl.com/media/2019/12/about-dsi-4-1200x900.png"
          "producthead_desktop_lg-width" => 1200
          "producthead_desktop_lg-height" => 900
          "producthead_mobile" => "https://www.dsi-pbl.com/media/2019/12/about-dsi-4-400x460.png"
          "producthead_mobile-width" => 400
          "producthead_mobile-height" => 460
          "news_titleimg" => "https://www.dsi-pbl.com/media/2019/12/about-dsi-4-800x500.png"
          "news_titleimg-width" => 800
          "news_titleimg-height" => 500
          "gallery_desktop" => "https://www.dsi-pbl.com/media/2019/12/about-dsi-4.png"
          "gallery_desktop-width" => 1440
          "gallery_desktop-height" => 900
          "gallery_mobile" => "https://www.dsi-pbl.com/media/2019/12/about-dsi-4-768x495.png"
          "gallery_mobile-width" => 768
          "gallery_mobile-height" => 495
          "og-image" => "https://www.dsi-pbl.com/media/2019/12/about-dsi-4.png"
          "og-image-width" => 1008
          "og-image-height" => 630
        ]
      ]
      "form" => WP_Post {#2239}
      "link" => WP_Post {#2276}
      "mailto_text" => "Service / Support"
      "mailto_e_mail" => "reception@dsi-pbl.com"
      "layout" => "contact-form"
    ]
    
/home/dsi/public_html/content/themes/dsi/page.php
<?php
get_header();
?>
 
<?php
$Modules = new \Probots\Modules\Builder;
$Modules
    ->setModulesFieldKey('modules')
    ->setLayoutFieldKey('acf_fc_layout')
    ->setModuleClassName('layout')
    ->setLayoutSubDirectory('includes/layouts');
$Modules->build();
?>
 
<?php
get_footer();
?>
 
/home/dsi/public_html/wp/wp-includes/template-loader.php
            }
 
            break;
        }
    }
 
    if ( ! $template ) {
        $template = get_index_template();
    }
 
    /**
     * Filters the path of the current template before including it.
     *
     * @since 3.0.0
     *
     * @param string $template The path of the template to include.
     */
    $template = apply_filters( 'template_include', $template );
    if ( $template ) {
        include $template;
    } elseif ( current_user_can( 'switch_themes' ) ) {
        $theme = wp_get_theme();
        if ( $theme->errors() ) {
            wp_die( $theme->errors() );
        }
    }
    return;
}
 
Arguments
  1. "/home/dsi/public_html/content/themes/dsi/page.php"
    
/home/dsi/public_html/wp/wp-blog-header.php
<?php
/**
 * Loads the WordPress environment and template.
 *
 * @package WordPress
 */
 
if ( ! isset( $wp_did_header ) ) {
 
    $wp_did_header = true;
 
    // Load the WordPress library.
    require_once __DIR__ . '/wp-load.php';
 
    // Set up the WordPress query.
    wp();
 
    // Load the theme template.
    require_once ABSPATH . WPINC . '/template-loader.php';
 
}
 
Arguments
  1. "/home/dsi/public_html/wp/wp-includes/template-loader.php"
    
/home/dsi/public_html/index.php
<?php
/**
 * Front to the WordPress application. This file doesn't do anything, but loads
 * wp-blog-header.php which does and tells WordPress to load the theme.
 *
 * @package WordPress
 */
 
/**
 * Tells WordPress to load the WordPress theme and output it.
 *
 * @var bool
 */
define('WP_USE_THEMES', true);
 
/** Loads the WordPress Environment and Template */
require( dirname( __FILE__ ) . '/wp/wp-blog-header.php' );
Arguments
  1. "/home/dsi/public_html/wp/wp-blog-header.php"
    

Environment & details:

empty
empty
empty
empty
empty
Key Value
SERVER_SOFTWARE
"Apache"
REQUEST_URI
"/contact/"
CONTEXT_DOCUMENT_ROOT
"/home/dsi/public_html"
CONTEXT_PREFIX
""
DOCUMENT_ROOT
"/home/dsi/public_html"
GATEWAY_INTERFACE
"CGI/1.1"
HTTP_ACCEPT
"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
HTTP_ACCEPT_ENCODING
"br,gzip"
HTTP_ACCEPT_LANGUAGE
"en-US,en;q=0.5"
HTTP_AUTHORIZATION
""
HTTP_CONNECTION
"Keep-Alive"
HTTP_HOST
"www.dsi-pbl.com"
HTTP_IF_MODIFIED_SINCE
"Sat, 15 May 2021 05:10:26 GMT"
HTTP_USER_AGENT
"CCBot/2.0 (https://commoncrawl.org/faq/)"
PATH
"/bin:/usr/bin"
PHP_INI_SCAN_DIR
"/opt/cpanel/ea-php74/root/etc:/opt/cpanel/ea-php74/root/etc/php.d:."
QUERY_STRING
""
REDIRECT_HTTP_AUTHORIZATION
""
REDIRECT_SCRIPT_URI
"http://www.dsi-pbl.com/contact/"
REDIRECT_SCRIPT_URL
"/contact/"
REDIRECT_STATUS
"200"
REDIRECT_UNIQUE_ID
"YQbUHZOHiitAFltoiTwk3wAAABU"
REDIRECT_URL
"/contact/"
REMOTE_ADDR
"3.235.227.117"
REMOTE_PORT
"46736"
REQUEST_METHOD
"GET"
REQUEST_SCHEME
"http"
SCRIPT_FILENAME
"/home/dsi/public_html/index.php"
SCRIPT_NAME
"/index.php"
SCRIPT_URI
"http://www.dsi-pbl.com/contact/"
SCRIPT_URL
"/contact/"
SERVER_ADDR
"192.254.198.56"
SERVER_ADMIN
"webmaster@dsi-pbl.com"
SERVER_NAME
"www.dsi-pbl.com"
SERVER_PORT
"80"
SERVER_PROTOCOL
"HTTP/1.1"
SERVER_SIGNATURE
""
TZ
"Europe/London"
UNIQUE_ID
"YQbUHZOHiitAFltoiTwk3wAAABU"
PHP_SELF
"/index.php"
REQUEST_TIME_FLOAT
1627837469.6743
REQUEST_TIME
1627837469
argv
[]
argc
0
ENVIRONMENT
"production"
DEBUG
"false"
SSL
"true"
LIVE_RELOAD
"false"
DB_HOST
"127.0.0.1"
DB_PORT
"3306"
DB_NAME
"dsi_c371dsi_new"
DB_USER
"dsi_c371dsi_new"
DB_PASSWORD
"TXS}rLe1ip}njr*"
WP_THEME_NAME
"dsi"
WP_TABLE_PREFIX
"wp_"
WP_MEDIA_URL
"https://www.dsi-pbl.com/media"
SMTP_AUTH
"true"
SMTP_SECURE
"tls"
SMTP_HOST
"smtp.eu.mailgun.org"
SMTP_PORT
"587"
SMTP_USER
"postmaster@mg.probots.io"
SMTP_PASS
"01d0965beb739826029b3e24322c2a43-9c988ee3-7ffd6c4c"
SMTP_FROM_EMAIL
"postmaster@mg.probots.io"
SMTP_FROM_NAME
"DSI-Postmaster"
TAGMANAGER
"GTM-MKSNSB2"
BUGHERD
"null"
GOOGLE_MAPS
"null"
Key Value
ENVIRONMENT
"production"
DEBUG
"false"
SSL
"true"
LIVE_RELOAD
"false"
DB_HOST
"127.0.0.1"
DB_PORT
"3306"
DB_NAME
"dsi_c371dsi_new"
DB_USER
"dsi_c371dsi_new"
DB_PASSWORD
"TXS}rLe1ip}njr*"
WP_THEME_NAME
"dsi"
WP_TABLE_PREFIX
"wp_"
WP_MEDIA_URL
"https://www.dsi-pbl.com/media"
SMTP_AUTH
"true"
SMTP_SECURE
"tls"
SMTP_HOST
"smtp.eu.mailgun.org"
SMTP_PORT
"587"
SMTP_USER
"postmaster@mg.probots.io"
SMTP_PASS
"01d0965beb739826029b3e24322c2a43-9c988ee3-7ffd6c4c"
SMTP_FROM_EMAIL
"postmaster@mg.probots.io"
SMTP_FROM_NAME
"DSI-Postmaster"
TAGMANAGER
"GTM-MKSNSB2"
BUGHERD
"null"
GOOGLE_MAPS
"null"
0. Whoops\Handler\PrettyPageHandler