Fatal error: Uncaught Error: Undefined constant “AI1WM_MAX_FILE_SIZE”

[ad_1]

Hi there,

I just swtiched to a new server with php 8.x.
My best guess it has something todo with it, but I’m just guessing.

I’ve installed a fresh WP 6.2.2, further I’ve installed the newest AI1-Migration + Pro Version and activated them. Then when I click on “AI1-> Import” it results in the following debug log:

Fatal error: Uncaught Error: Undefined constant "AI1WM_MAX_FILE_SIZE" in /opt/app-root/src/web/wp-content/plugins/all-in-one-wp-migration-unlimited-extension/lib/controller/class-ai1wmue-main-controller.php:277 Stack trace: #0 /opt/app-root/src/web/wp-includes/class-wp-hook.php(308): Ai1wmue_Main_Controller->enqueue_import_scripts_and_styles() #1 /opt/app-root/src/web/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters() #2 /opt/app-root/src/web/wp-includes/plugin.php(517): WP_Hook->do_action() #3 /opt/app-root/src/web/wp-admin/admin-header.php(118): do_action() #4 /opt/app-root/src/web/wp-admin/admin.php(239): require_once('...') #5 {main} thrown in /opt/app-root/src/web/wp-content/plugins/all-in-one-wp-migration-unlimited-extension/lib/controller/class-ai1wmue-main-controller.php on line 277

Question(s):
– Is this really related to php 8.x; can someone confirm this please.
– Is there anything I can do to get it working with php 8.x?
– Or is this related due to some file/folder permission?

Really looking forward, need some help on this one.
Thank you @all

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer