Saltar navegación

[Resuelto] change site to homepage – now form gives error

This support ticket is created hace 5 años, 3 meses. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

Etiquetado: 

Este tema contiene 2 respuestas, tiene 2 mensajes.

Última actualización por SteffenM1628 hace 5 años, 3 meses.

Asistido por: Christian Cox.

Autor
Mensajes
#1331803
Bildschirmfoto 2019-09-04 um 20.05.13.png

I am trying to:
hey there i changed a site (everything is working great) with a form to be the homepage.
now the form gives an error when try to publish my custom post type. (screenshot attached)

By investigating the error message this code is what i found:

* i18n friendly version of basename()
 *
 * @since 3.1.0
 *
 * @param string $path   A path.
 * @param string $suffix If the filename ends in suffix this will also be cut off.
 * @return string
 */
function wp_basename( $path, $suffix = '' ) {
	return urldecode( basename( str_replace( array( '%2F', '%5C' ), '/', urlencode( $path ) ), $suffix ) );
}

But i don´t no what to do now.

When i change the site back - to not to be the homepage everything is working great again!

Hope you guys can help me.

cheers

#1331819

Hi, as discussed please provide a login in the private reply fields when you have a chance. Thanks!

#1332067

My issue is resolved now. Thank you!