• Resolved sebiev

    (@sebiev)


    Hi, I have customized the function. Now error messages come in adminpanel->wp-filebase.

    function wpfb_callback($cl, $fnc) 
        { 
            return function() 
            { 
                $p=func_get_args(); 
                return wpfb_call("' . $cl . '","' . $fnc . '",$p,true); 
            }; 
        }
    
    

    Notice: Undefined variable: cl in …/wp-content/plugins/wp-filebase/wp-filebase.php on line 86

    Notice: Undefined variable: fnc in …/wp-content/plugins/wp-filebase/wp-filebase.php on line 86

    Warning: include_once(…/plugins/wp-filebase/classes/’ . . ‘.php): failed to open stream: No such file or directory in …/wp-content/plugins/wp-filebase/wp-filebase.php on line 47

    Warning: include_once(): Failed opening ‘…/wp-content/plugins/wp-filebase/classes/’ . . ‘.php’ for inclusion (include_path=’.:/usr/local/lib/php/’) in …wp-content/plugins/wp-filebase/wp-filebase.php on line 47`
    `

    call is set wpfb_call('Output', 'PrintJS'); in AdminBar.php

    do you have an idea?

    • This topic was modified 3 years, 1 month ago by sebiev.
    • This topic was modified 3 years, 1 month ago by sebiev.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter sebiev

    (@sebiev)

    server is running on php 7.4

    after changing the function the variable loses its content after including
    wpfb_call(‘Output’, ‘PrintJS’);.

    WP-Filebase Error: Could not include class file ” . . ”!

    Thread Starter sebiev

    (@sebiev)

    return function() use($cl, $fnc){
         $p=func_get_args(); 
         return wpfb_call($cl, $fnc, $p, true);
     };
    • This reply was modified 3 years, 1 month ago by sebiev.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘PHP 8.0 issue: deprecated create_function()’ is closed to new replies.