• Resolved pwtng

    (@pwtng)


    I updated my WP at the 5.2.1 versione, and now a lot of pages where I use PHP have this error:

    “Uncaught Error: Call to undefined function split()…”

    I don’t understand the problem. Is it a problem of your plugin or not? Can you help me?

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Stefano Lissa

    (@satollo)

    That is a PHP problem. Check if in your included code you’re using the split() function. I should not have that function used in my plugin.

    Stefano.

    Thread Starter pwtng

    (@pwtng)

    Ciao Stefano, grazie per la risposta. Nel codice PHP delle pagine che danno questo errore utilizzavo anche precedentemente la funzione split() e non davano alcun problema. Purtroppo penso che il problema non sia nel codice scritto da me, ma bensì in qualche nuova modifica che ha apportato l’aggiornamento a WordPress 5.2.1. Non so tuttavia se possa essere un problema di “Include Me”. Potrebbe anche essere un problema della nuova versione di WordPress. Il mio sito è sull’hosting Altervista, e per default è impostata la versione PHP 5.6.

    Hello Stefano, thank you. My pages worked before the update to WordPress 5.2.1, so I don’t think the problem is in my code (in the function split), because I did’t touch it and before the update they worked perfectly. I’m thinking that the problem can be in the Include Me plugin or in the new version of WordPress. My website in hosting on Altervista and I use PHP 5.6 by default, even before the update.

    Thread Starter pwtng

    (@pwtng)

    Ok. I don’t understand the connection with the wordpress update, but maybe I understand the problem. The function “split” has been deprecated, maybe it is the problem. I changed it with “explode” function and now pages works again.

    Plugin Author Stefano Lissa

    (@satollo)

    There is not a connection, split() is a PHP function removed from PHP 7. Checkif you’re actually running PHP 7 in your blogs.

    Stefano.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Updated WP at 5.2.1. Now I have a PHP error with “split”’ is closed to new replies.