Fatal error in latest version?
-
I see the plug-in is updated 14 minutes ago, getting this error when I try to activate it:
Fatal error: Uncaught LogicException: Function 'rnl_autoloader' not found (function 'rnl_autoloader' not found or invalid function name)
-
The latest github repo build gives me the same result.
Hi @dountill
The file that contains this function is on gamipress/libraries/cmb2-metatabs-options/autoloader.php
Is this file on your install? If not, is probable that some type of malware scanning software is removing this file or preventing to add it
Also, our demo site is updated with the latest release without issue:
https://demo.gamipress.com/Best regards
The file is there. Maybe you can see something in my whole error I got (redownloaded the plugin)
Fatal error: Uncaught LogicException: Function 'rnl_autoloader' not found (function 'rnl_autoloader' not found or invalid function name) in C:\Bitnami\wampstack-7.1.25-0\apache2\htdocs\membertheme\wp-content\plugins\GamiPress-master\libraries\cmb2-metatabs-options\cmb2_metatabs_options.php:15 Stack trace: #0 C:\Bitnami\wampstack-7.1.25-0\apache2\htdocs\membertheme\wp-content\plugins\GamiPress-master\libraries\cmb2-metatabs-options\cmb2_metatabs_options.php(15): spl_autoload_register('rnl_autoloader') #1 C:\Bitnami\wampstack-7.1.25-0\apache2\htdocs\membertheme\wp-content\plugins\GamiPress-master\gamipress.php(168): require_once('C:\\Bitnami\\wamp...') #2 C:\Bitnami\wampstack-7.1.25-0\apache2\htdocs\membertheme\wp-content\plugins\GamiPress-master\gamipress.php(117): GamiPress->libraries() #3 C:\Bitnami\wampstack-7.1.25-0\apache2\htdocs\membertheme\wp-content\plugins\GamiPress-master\gamipress.php(406): GamiPress::instance() #4 C:\Bitnami\wampstack-7.1.25-0\apache2\htdocs\membertheme\wp-content\plugins\GamiPress-master\gamip in C:\Bitnami\wampstack-7.1.25-0\apache2\htdocs\membertheme\wp-content\plugins\GamiPress-master\libraries\cmb2-metatabs-options\cmb2_metatabs_options.php on line 15Seems that it is working on my live environment, but not on the development environment (windows) as shown above.
Hi @dountill
Then is really probable that the file gets blocked to be loaded on your local machine
Anyway, as I can see you are using the GitHub version, you could remove it and use the wordpress.org version instead but if the issue persist, look to exclude you xampp folder from any malware scanning software
best regards
As you can read in my first reply I tried both versions. WordPress repo and a GitHub build. Both with the same result. I checked the contents and everything is met, just like int the plug-in source.
Could it be the way the relative path is configured cannot be executed in a windows environment?
My virusscanner didn’t block any content or files in the plug-in.
Hi @dountill
Is probably that your Windows or xampp has some kind of different setup
I’m using windows to without issue
Could you try to edit the line 14 of the file
gamipress/libraries/cmb2-metatabs-options/cmb2_metatabs_options.php
and change this partrequire 'autoloader.php';
by this onerequire plugin_dir_path( __FILE__ ) . 'autoloader.php';Hope it helps
This indeed seems to help! Is there any way I can make sure this keeps working with upcoming plug-in updates?
Hi @dountill
Thanks for confirms to me that this works
I will add this on our roadmap to being added as soon as possible
Best regards
The topic ‘Fatal error in latest version?’ is closed to new replies.