• Resolved hagentertainment

    (@hagentertainment)


    Today I updated to version 4.0.7 after having version 3.8.8 for a while. I receive this critical error on my site now:

    PHP Fatal error: Uncaught Error: Class “Etn\Core\Settings\Base\Config” not found in /home/hagent6/public_html/dev/wp-content/plugins/eventin-pro/core/settings/settings.php:7 Stack trace: #0 /home/hagent6/public_html/dev/wp-content/plugins/eventin-pro/autoloader.php(55): require_once() #1 /home/hagent6/public_html/dev/wp-content/plugins/eventin-pro/bootstrap.php(89): Etn_Pro\Autoloader::autoload(‘Etn_Pro\\Core\\Se…’) #2 /home/hagent6/public_html/dev/wp-content/plugins/eventin-pro/eventin-pro.php(105): Etn_Pro\Bootstrap->init() #3 /home/hagent6/public_html/dev/wp-includes/class-wp-hook.php(324): Wpeventin_Pro->initialize_modules(”) #4 /home/hagent6/public_html/dev/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) #5 /home/hagent6/public_html/dev/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #6 /home/hagent6/public_html/dev/wp-settings.php(555): do_action(‘plugins_loaded’) #7 /home/hagent6/public_html/dev/wp-config.php(276): require_once(‘/home/hagent6/p…’) #8 /home/hagent6/public_html/dev/wp-load.php(50): require_once(‘/home/hagent6/p…’) #9 /home/hagent6/public_html/dev/wp-blog-header.php(13): require_once(‘/home/hagent6/p…’) #10 /home/hagent6/public_html/dev/index.php(17): require(‘/home/hagent6/p…’) #11 {main} thrown in /home/hagent6/public_html/dev/wp-content/plugins/eventin-pro/core/settings/settings.php on line 7

    I am unable to access the admin or frontend of my site.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter hagentertainment

    (@hagentertainment)

    I tried viewing /plugins/eventin-pro/core/settings/settings.php but no such file exists. Inside of the settings folder there is a folder called “views” and that’s it. Inside of views there are two files named country-info.php and email-notification-settings.php

    Plugin Author Ehsan Riyadh

    (@ehsanriyadh)

    Hi @hagentertainment Can you please update the latest version Free 4.0.8 and Pro version 4.0.7 . The current free version of the plugin is 4.0.8. You need to update both Free and Pro version.
    As there is php error now, you can rename and upload the eventin plugin from Cpanel also.
    Please, let us know the update. Regards.

    • This reply was modified 2 months, 3 weeks ago by Ehsan Riyadh.
    • This reply was modified 2 months, 3 weeks ago by Ehsan Riyadh.
    Thread Starter hagentertainment

    (@hagentertainment)

    I updated the core plugin to 4.0.8 and I still encountered a fatal error. This time the error read:

    PHP Fatal error: Uncaught TypeError: Illegal offset type in /home/hagent6/public_html/dev/wp-content/themes/evenex/core/helpers/functions/global.php:585 Stack trace: #0 /home/hagent6/public_html/dev/wp-content/themes/evenex/components/editor/elementor/widgets/eventin/eventin-events.php(55): get_evenex_event_location() #1 /home/hagent6/public_html/dev/wp-content/themes/evenex/components/editor/elementor/widgets/eventin/eventin-events.php(93): Elementor\Multi_Event_Widget->get_event_location() #2 /home/hagent6/public_html/dev/wp-content/plugins/elementor/includes/base/controls-stack.php(2386): Elementor\Multi_Event_Widget->register_controls() #3 /home/hagent6/public_html/dev/wp-content/plugins/elementor/includes/base/widget-base.php(1065): Elementor\Controls_Stack->init_controls() #4 /home/hagent6/public_html/dev/wp-content/plugins/elementor/includes/base/controls-stack.php(569): Elementor\Widget_Base->init_controls() #5 /home/hagent6/public_html/dev/wp-content/plugins/elementor/includes/base/widget-base.php(192): Elementor\Controls_Stack->get_stack() #6 /home/hagent6/public_html/dev/wp-content/plugins/elementor/includes/base/controls-stack.php(314): Elementor\Widget_Base->get_stack() #7 /home/hagent6/public_html/dev/wp-content/plugins/elementor/core/files/css/global-css.php(120): Elementor\Controls_Stack->get_controls() #8 /home/hagent6/public_html/dev/wp-content/plugins/elementor/core/files/css/global-css.php(66): Elementor\Core\Files\CSS\Global_CSS->render_schemes_and_globals_css() #9 /home/hagent6/public_html/dev/wp-content/plugins/elementor/core/files/css/base.php(680): Elementor\Core\Files\CSS\Global_CSS->render_css() #10 /home/hagent6/public_html/dev/wp-content/plugins/elementor/core/files/base.php(180): Elementor\Core\Files\CSS\Base->parse_content() #11 /home/hagent6/public_html/dev/wp-content/plugins/elementor/core/files/css/base.php(131): Elementor\Core\Files\Base->update_file() #12 /home/hagent6/public_html/dev/wp-content/plugins/elementor/core/files/css/base.php(227): Elementor\Core\Files\CSS\Base->update() #13 /home/hagent6/public_html/dev/wp-content/plugins/elementor/includes/frontend.php(1027): Elementor\Core\Files\CSS\Base->enqueue() #14 /home/hagent6/public_html/dev/wp-content/plugins/elementor/includes/frontend.php(649): Elementor\Frontend->parse_global_css_code() #15 /home/hagent6/public_html/dev/wp-includes/class-wp-hook.php(324): Elementor\Frontend->enqueue_styles(”) #16 /home/hagent6/public_html/dev/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) #17 /home/hagent6/public_html/dev/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #18 /home/hagent6/public_html/dev/wp-includes/script-loader.php(2263): do_action(‘wp_enqueue_scri…’) #19 /home/hagent6/public_html/dev/wp-includes/class-wp-hook.php(324): wp_enqueue_scripts(”) #20 /home/hagent6/public_html/dev/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(”, Array) #21 /home/hagent6/public_html/dev/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #22 /home/hagent6/public_html/dev/wp-includes/general-template.php(3065): do_action(‘wp_head’) #23 /home/hagent6/public_html/dev/wp-content/plugins/elementskit-lite/modules/header-footer/views/theme-support-header.php(11): wp_head() #24 /home/hagent6/public_html/dev/wp-content/plugins/elementskit-lite/modules/header-footer/theme-hooks/theme-support.php(25): require(‘/home/hagent6/p…’) #25 /home/hagent6/public_html/dev/wp-includes/class-wp-hook.php(326): ElementsKit_Lite\Modules\Header_Footer\Theme_Hooks\Theme_Support->get_header(NULL) #26 /home/hagent6/public_html/dev/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) #27 /home/hagent6/public_html/dev/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #28 /home/hagent6/public_html/dev/wp-includes/general-template.php(38): do_action(‘get_header’, NULL, Array) #29 /home/hagent6/public_html/dev/wp-content/themes/evenex/template/homepage-template.php(6): get_header() #30 /home/hagent6/public_html/dev/wp-includes/template-loader.php(106): include(‘/home/hagent6/p…’) #31 /home/hagent6/public_html/dev/wp-blog-header.php(19): require_once(‘/home/hagent6/p…’) #32 /home/hagent6/public_html/dev/index.php(17): require(‘/home/hagent6/p…’) #33 {main} thrown in /home/hagent6/public_html/dev/wp-content/themes/evenex/core/helpers/functions/global.php on line 585

    Let me back up for a minute. I am updating the plugin because I’m not sure when but a few weeks back, the location of my events started appearing as “Array”. Please see the screenshot, the red is showing the location appearing incorrectly in the event header but appearing correctly in the event sidebar.

    The php error message has something to do with all of my locations for some reason being detected as arrays and therefore causing an “illegal offset type”. I’m not sure when this issue started happening but I noticed it a few days ago. Previous the location in the banner/header area was showing correctly and matching that of the side bar.

    I was able to resolve the critical error by going into PhpMyAdmin and executing the SQL “DELETE FROM wpstg2_postmeta WHERE wpstg2_postmeta.meta_key = ‘etn_event_location'”;

    I tried going back to the admin area and editing my events to re-input the location. I type in “Localhost Gaming Lounge, 401 N Broad St, Philadelphia, PA 19108”. When I save it, I see see the “Array” text pop up in the banner/header area. Also, my map on my event page looks like this:

    After trying to add my location again, this is what appears in my database (all of these records are for the one event which is why the output is showing as an array

    Thread Starter hagentertainment

    (@hagentertainment)

    Disregard the last screenshot with the database because I must not have deleted all of the records. Those are locations for different events. I did finally clear out all locations for all events and then went back in and tried to add a location for just one event. The l”a:4:{s:7:”address”;s:59:”Localhost Philly, North Broad Street, Philadelphia, PA, USA”;s:8:”place_id”;s:27:”ChIJDY4-SmXIxokR9yHqSx04ALQ”;s:8:”latitude”;d:39.959724399999998922794475220143795013427734375;s:9:”longitude”;d:-75.1615599999999943747752695344388484954833984375;}” but for some reason the value is still being handled as an array.

    Plugin Support Md Mahbub Morshed Chowdhury

    (@faheem96dev)

    Hi @hagentertainment,

    We have already fixed the Array issue on the plugin, and the data you is is now in the object method: a:4:{s:7:”address”;s:59:”Localhost Philly, North Broad Street, Philadelphia, PA, USA”;s:8:”place_id”;s:27:”ChIJDY4-SmXIxokR9yHqSx04ALQ”;s:8:”latitude”;d:39.959724399999998922794475220143795013427734375;s:9:”longitude”;d:-75.1615599999999943747752695344388484954833984375;}”

    Here you can see the Data also with the lat and long. We make it more legit for using the map automatically. But the issue is on your Eventex theme. They didn’t fetch the location on our latest release wise. And that’s why the location is showing as Array. It is an Array because it has now lots of parameters in the object. But Evenex was in their old code.

    Please contact Evenex to solve this.

    I hope you’ll be able to understand us.

    Thanks for using our product and being with us. Good day.

    Best Regards

    Thread Starter hagentertainment

    (@hagentertainment)

    Thank you. For now, I have rolled back to version 3.X until my theme updates the code.

    Plugin Support Md Mahbub Morshed Chowdhury

    (@faheem96dev)

    Hi @hagentertainment,

    Ok, thanks for letting us know. If you need any further help then feel free to ask us.

    Thanks for using our products and being with us.

    Best Regards

Viewing 7 replies - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.