- This topic has 7 replies, 3 voices, and was last updated 4 years, 1 month ago by
Michael.
-
AuthorPosts
-
February 22, 2019 at 5:15 pm #818268
Michael
I’ve setup a new WordPress site and am trying to import a theme from the Site Library (at this point any theme) but always get stopped at the same spot – when trying to import the theme data. I continue to get a 400 Bad Request error message.
I’ve disabled any plugins and have even used WP Reset (https://wordpress.org/plugins/wp-reset/) to put the WordPress install back to a default state after each attempt. The same error message at the same spot.
Looking on the server I see the following error:
[Sat Feb 23 01:08:07.320891 2019] [proxy_fcgi:error] [pid 21559:tid 140622597945088] [client 155.155.155.155:0] AH01071: Got error 'PHP message: PHP Warning: Creating default object from empty value in /home/runcloud/webapps/dev-wordpress/wp-content/plugins/gp-premium/sites/classes/class-site.php on line 766', referer: https://XXXX.com/wp-admin/themes.php?page=generatepress-site-library
Any suggestions on how to resolve this issue?
GeneratePress 2.2.2GP Premium 1.7.8February 22, 2019 at 5:47 pm #818281Tom
Lead DeveloperLead DeveloperHi there,
A 400 bad request error usually means the AJAX inside the admin isn’t succeeding.
That could be another error within the site preventing it, or it could be that the security measures in the AJAX call are kicking in, preventing it from happening.
Do you have another server you can test on, possibly? If there are no other plugins, it likely means there’s a server setting getting in the way.
That PHP warning looks like a small bug we need to fix, but it wouldn’t cause a 400 error.
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentFebruary 23, 2019 at 4:24 am #818584Michael
I checked the server config and the following functions was disabled:
getmyuid,passthru,leak,listen,diskfreespace,tmpfile,link,ignore_user_abort,shell_exec,dl,set_time_limit,exec,system,highlight_file,source,show_source,fpassthru,virtual,posix_ctermid,posix_getcwd,posix_getegid,posix_geteuid,posix_getgid,posix_getgrgid,posix_getgrnam,posix_getgroups,posix_getlogin,posix_getpgid,posix_getpgrp,posix_getpid,posix,_getppid,posix_getpwuid,posix_getrlimit,posix_getsid,posix_getuid,posix_isatty,posix_kill,posix_mkfifo,posix_setegid,posix_seteuid,posix_setgid,posix_setpgid,posix_setsid,posix_setuid,posix_times,posix_ttyname,posix_uname,proc_open,proc_close,proc_nice,proc_terminate,escapeshellcmd,ini_alter,popen,pcntl_exec,socket_accept,socket_bind,socket_clear_error,socket_close,socket_connect,symlink,posix_geteuid,ini_alter,socket_listen,socket_create_listen,socket_read,socket_create_pair,stream_socket_server
I’ve again reset all of WordPress removed all disabled functions and restarted the server and attempted the theme import again, sadly the results remained the same 400 Bad Request.
As a test I downloaded another framework and was able to use their site importer without issue. :\
February 23, 2019 at 8:43 am #818902Tom
Lead DeveloperLead DeveloperAny chance you can send me temporary admin login details so I can take a closer look?: https://generatepress.com/account
If so, be sure to mention this topic.
Thanks!
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentFebruary 24, 2019 at 10:40 am #819950Michael
Sure Tom. Where should I send the login info? I didn’t see a place on my account page to enter that info.
February 24, 2019 at 10:53 am #819954Ender
I think he means https://generatepress.com/contact/
February 24, 2019 at 5:48 pm #820177Tom
Lead DeveloperLead DeveloperUgh, sorry about that! Totally meant https://generatepress.com/contact/.
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentFebruary 24, 2019 at 5:52 pm #820180Michael
No worries. I sent you an email using the contact form. Thanks!
-
AuthorPosts
- You must be logged in to reply to this topic.