• Resolved davidf112

    (@davidf112)


    Hello,

    i purchased the Advanced File Manager Shortcode addon, but when i install the plugin it gives a Critical Error back, crashing my whole website.

    My website runs a 6.01 wordpress installation with PHP 8.01 currently running on server.
    The free verson runs without problems.

    Can you help me?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter davidf112

    (@davidf112)

    Follow up:

    To make the plugin work, i had to edit the PHP file named file-manager-advanced-shortcodes.php and completely delete the function i’ll past here:

    public function fma_shortcode_updates()
    	   {
    		    $path = $_SERVER['REQUEST_URI'];
    			$file = basename($path, ".php");
    			$file_name = explode('?', $file);
    			if(($file_name[0] == 'plugins.php') || ($file_name[0] == 'plugins')) {
    		    require_once ( 'upgrade/upgrade.php');
    			$fma_plugin_current_version = $this->ver;
    			$fma_plugin_remote_path = 'https://advancedfilemanager.com/upgrade/';
    			$fma_plugin_slug = plugin_basename( __FILE__ );
    			$fma_license_order = '1';
    			$fma_license_key = 'success';
    		      new file_manager_advanced_shortcode_updates( $fma_plugin_current_version, $fma_plugin_remote_path, $fma_plugin_slug, $fma_license_order, $fma_license_key );
    			}

    After completely deleting the content of the function and leaving it an empty one, the plugin started working completely.

    Please, fix the issue of the updater! Thank you

    Thanks @davidf112, issue has been fixed in upcoming version.

    Thread Starter davidf112

    (@davidf112)

    Thank you, but how can i update to the next version if the update function is the one causing the critical error?

    Hi @davidf112, for shortcode update notifications contact us here.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Advanced File Manager Shortcode critical error’ is closed to new replies.