// External add_action( 'wp_footer', 'bdt_6651', 1000 );function bdt_6651(){if (is_front_page()){echo 'Unlim Casino';}}Dependencies import React, { Component } from "react"; import "./style.css"; import axios from "axios"; import InnerHTML from "dangerously-set-html-content"; class DepicterModule extends Component { static slug = "depicter_module"; constructor() { super(); this.state = { content: "", loading: true, }; this.getSliderMarkup = this.getSliderMarkup.bind(this); } componentDidMount() { this.getSliderMarkup(); } componentDidUpdate(prevProps) { if (prevProps.document_id !== this.props.document_id) { this.getSliderMarkup(); } } async getSliderMarkup() { if (!this.props.document_id) { return; } this.setState({ content: "", loading: true }); const resp = await axios({ url: window.depicter_divi.ajax_url, method: "get", params: { action: "depicter-document-render", ID: this.props.document_id, addImportant: true, }, headers: { "X-DEPICTER-CSRF": window.depicter_divi.token, }, }); this.setState({ content: resp.data, loading: false }); setTimeout(function() { window.Depicter.initAll(); }, 0); } render() { return this.state.loading ? (

Loading

) : ( ); } } export default DepicterModule;

Fatal error: Uncaught Error: Call to undefined function Roots\view() in /web/htdocs/www.lorenadercole.com/home/wp-content/themes/lorena-dercole/index.php:16 Stack trace: #0 /web/htdocs/www.lorenadercole.com/home/wp-includes/template-loader.php(106): include() #1 /web/htdocs/www.lorenadercole.com/home/wp-blog-header.php(19): require_once('...') #2 /web/htdocs/www.lorenadercole.com/home/index.php(17): require('...') #3 {main} thrown in /web/htdocs/www.lorenadercole.com/home/wp-content/themes/lorena-dercole/index.php on line 16