Skip Navigation

[Gelöst] change site to homepage – now form gives error

This support ticket is created vor 5 Jahren, 2 Monaten. 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.

Heute stehen keine Supporter zur Arbeit im Werkzeugsatz-Forum zur Verfügung. Sie können gern Tickets erstellen, die wir bearbeiten werden, sobald wir online sind. Vielen Dank für Ihr Verständnis.

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)

Dieses Thema enthält 2 Antworten, hat 2 Stimmen.

Zuletzt aktualisiert von SteffenM1628 vor 5 Jahren, 2 Monaten.

Assistiert von: Christian Cox.

Author
Artikel
#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!