Support » Plugin: Fast Velocity Minify » Error im Code

  • Resolved krut1

    (@krut1)


    You do in PHP: fvm.php:297

    
    $return = array('js' => array(), 'css' => array(), 'stamp' => $_POST['stamp'], 'cachesize'=> $size);
    

    In Js you do:fvm.js:14

    
    var data = { 'action': 'fastvelocity_min_files' };
    jQuery.post(ajaxurl, data, function(response) {
    ...
    

    But $_POST[‘stamp’] does not exist. Could you pleas chenge it to:

    
    $return = array('js' => array(), 'css' => array(), 'stamp' => $_POST['stamp'] ?? null, 'cachesize'=> $size);
    
    • This topic was modified 2 months, 4 weeks ago by  krut1.
    • This topic was modified 2 months, 4 weeks ago by  krut1.
    • This topic was modified 2 months, 4 weeks ago by  krut1.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Raul P.

    (@alignak)

    Hi,

    That code has been there for a long time so it was a leftover. There use to be a stamp post which was removed sometime later. I’ll remove it on the next update. Thanks

    OK 😉

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