Forum Support

Shape 5
March 29, 2024, 02:48:29 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Shape 5 Forum
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Health Guide - Site Shaper has issues after install / admin config.  (Read 912 times)
mdrothert
Jr. Member
**
Offline Offline

Posts: 199



« on: February 03, 2017, 03:02:57 PM »

After I install wordpress 4.1 via the Site Shaper found here:
http://www.shape5.com/component/option,com_docman/Itemid,96/task,doc_download/gid,1290/

For theme: Health Guide

I find that I hit an error when trying to login to the admin portal of wordpress.

Code:
[03-Feb-2017 20:49:46 UTC] PHP Fatal error:  Uncaught Error: Cannot create references to/from string offsets in /Users/.../wp-includes/user.php:54
Stack trace:
#0 /.../wp-login.php(775): wp_signon('', '')
#1 {main}
  thrown in /.../wp-includes/user.php on line 54

This raises a 500 http response at :
`http://localhost:8888/wp-login.php?redirect_to=http%3A%2F%2Flocalhost%3A8888%2Fwp-admin%2F&reauth=1`

while trying to use `/wp-admin`

Specs:
PHP 7.1.0
MySQL: 5.6.34
Apache: 2.2.31

Please advise how to address this issue.

« Last Edit: February 03, 2017, 03:08:23 PM by mdrothert » Logged
mdrothert
Jr. Member
**
Offline Offline

Posts: 199



« Reply #1 on: February 03, 2017, 03:07:54 PM »

It looks as if this version of wordpress packaged with the site shaper has an inherit flaw with the most current stable version of php.

https://core.trac.wordpress.org/ticket/37071

This issue can be seen in version of 4.6 of wordpress and since the site shaper is packaged with 4.1 I assume this is the cause.
« Last Edit: February 03, 2017, 03:10:31 PM by mdrothert » Logged
Tristan Rineer
Global Moderator
*****
Offline Offline

Posts: 3858

Gravatar


« Reply #2 on: February 03, 2017, 03:17:04 PM »

Does the problem disappear if you update WP?

Unfortunately, I haven't been able to find a way to force WP to auto-update during the install process, so updating WP should always be the first step after installing the shaper.

I believe you can add the following code to your wp-config.php file to force an update if needed:

Code:
define( 'WP_AUTO_UPDATE_CORE', true );



[Note: I am moving this topic to the correct board; please remember in the future to post theme/plugin specific questions to the board created specifically for the theme/plugin you are asking about.]
« Last Edit: February 03, 2017, 03:20:02 PM by Tristan Rineer » Logged

Tristan Rineer
------------
Shape 5 Team



- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
mdrothert
Jr. Member
**
Offline Offline

Posts: 199



« Reply #3 on: February 03, 2017, 05:13:51 PM »

Using the config you provided did allow for the install to work correctly.

Except now the Vertex core theme says its out of data 4.1 > 4.0

I followed the link to do the patch but after updating with the patch I get. "Template XML file " errors on every page.

I since rolled that patch back.

In addition to that I see the plugin used to inject the demo data does not bring the site any were close to the same level of data used in the demo. 

I suspected that the demo data plugin was possibly faulty due to Vertex patch not being applied but I cant get the patch to work to rule that out.
Logged
Tristan Rineer
Global Moderator
*****
Offline Offline

Posts: 3858

Gravatar


« Reply #4 on: February 06, 2017, 12:28:12 PM »

That error means that the patch wasn't installed correctly.

Here's the easiest instructions for how to install the patch:


===============
To install the patch:

1. Download the Vertex Upgrade Patch.
2. Back up your site (just in case).
3. Copy the vertex/footer.php from the theme folder to somewhere safe (you'll be putting it back after patching).
4. Delete the vertex folder from the theme (nothing else, that is the only thing to delete).
5. Extract the zip file containing the patch, and upload it to the theme folder through FTP, choosing "overwrite" if/when prompted.
6. Copy the footer.php file (from step 3) back into the vertex folder of the theme.

That's it. 

Or, to put it a different way:
1. Back up vertex/footer.php. 
2. Delete the vertex folder, then upload the extracted patch to the theme folder. 
3. Put the footer.php file back into the vertex folder of the theme.
===============


 
Logged

Tristan Rineer
------------
Shape 5 Team



- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Looking for the largest variety in template designs? Look no more. Never buy 1 theme again. Signups start at just $89 for access to all of our themes.
Send Us An Email
Please send us your questions and we will email you back as soon as we can. Product support questions should be posted in our support forums under the Help menu. Our staff will assist you from there.