Jump to content


Photo
- - - - -
Resolved

Weird Error After Ssl Installation



  • Please log in to reply
29 replies to this topic

#1 gayatriom

gayatriom

    Advocate

  • Members

  • 559 posts
  • Country: Country Flag

Posted 15 November 2012 - 01:23 AM

Warning: in_array() [

Please Login or Register to see this Hidden Content

]: Wrong datatype for second argument in /home/justseti/public_html/wp-content/themes/pagelines/includes/less.plugin.php on line 2551
I keep getting the above error after the ssl installation. I've disabled w3total cache and Max cdn and https wordpress.

Still it's randomly pops up.
What could be going on?



















#2 gayatriom

gayatriom

    Advocate

  • Members

  • 559 posts
  • Country: Country Flag

Posted 15 November 2012 - 02:48 AM

and it's very random. basically whenever I save new css it happens.

#3 gayatriom

gayatriom

    Advocate

  • Members

  • 559 posts
  • Country: Country Flag

Posted 15 November 2012 - 02:49 AM

But I haven't gone live yet, so don't know.

#4 James B

James B

    Advocate

  • Moderators
  • 4979 posts
  • LocationSurrey - UK
  • Country: Country Flag

Posted 15 November 2012 - 03:20 AM

Hi there, have you added any custom scripts or php/hooks to the functions.php or anywhere else on the site? What process did you follow for the SSL installation?

Some of the caching plugins have an option to dump the cache built into them, also make sure you cleared the browser cache.

#5 gayatriom

gayatriom

    Advocate

  • Members

  • 559 posts
  • Country: Country Flag

Posted 15 November 2012 - 12:20 PM

Hey. I did. but then i deleted what I was trying to do. This is how my base theme functions file looks:

<?php
// Setup -- Probably want to keep this stuff...

/**
* Hello and welcome to Base! First, lets load the PageLines core so we have access to the functions
*/
require_once( dirname(__FILE__) . '/setup.php' );

// For advanced customization tips & code see advanced file.
//--> require_once(STYLESHEETPATH . "/advanced.php");

//====================================================

//====================================================


// ABOUT HOOKS --------//
// Hooks are a way to easily add custom functions and content to PageLines. There are hooks placed strategically throughout the theme
// so that you insert code and content with ease.


// ABOUT FILTERS ----------//

// Filters allow data modification on-the-fly. Which means you can change something after it was read and compiled from the database,
// but before it is shown to your visitor. Or, you can modify something a visitor sent to your database, before it is actually written there.

// FILTERS EXAMPLE ---------//

// The following filter will add the font Ubuntu into the font array $thefoundry.
// This makes the font available to the framework and the user via the admin panel.


cache was cleared, etc. no luck.
Also - woke up to a 500 internal server error!

#6 gayatriom

gayatriom

    Advocate

  • Members

  • 559 posts
  • Country: Country Flag

Posted 15 November 2012 - 12:20 PM

ok. now it's back. whew.

#7 gayatriom

gayatriom

    Advocate

  • Members

  • 559 posts
  • Country: Country Flag

Posted 15 November 2012 - 12:27 PM

Great. now I deleted the https plugin and some other plugins from cpanel. which shouldn't be a problem, but now I have another host of issues.
In addition to the problem from above.


Warning: fopen(/home/justseti/public_html/wp-content/plugins/subscribe2/subscribe2.php) [

Please Login or Register to see this Hidden Content

]: failed to open stream: No such file or directory in /home/justseti/public_html/wp-includes/functions.php on line 3306

Warning: fread(): supplied argument is not a valid stream resource in /home/justseti/public_html/wp-includes/functions.php on line 3309

Warning: fclose(): supplied argument is not a valid stream resource in /home/justseti/public_html/wp-includes/functions.php on line 3312

Warning: fopen(/home/justseti/public_html/wp-content/plugins/wordpress-https/wordpress-https.php) [

Please Login or Register to see this Hidden Content

]: failed to open stream: No such file or directory in /home/justseti/public_html/wp-includes/functions.php on line3306

Warning: fread(): supplied argument is not a valid stream resource in /home/justseti/public_html/wp-includes/functions.php on line 3309

Warning: fclose(): supplied argument is not a valid stream resource in /home/justseti/public_html/wp-includes/functions.php on line 3312

Warning: fopen(/home/justseti/public_html/wp-content/plugins/yikes-inc-easy-mailchimp-extender/yikes-inc-easy-mailchimp-extender.php) [

Please Login or Register to see this Hidden Content

]: failed to open stream: No such file or directory in/home/justseti/public_html/wp-includes/functions.php on line 3306

Warning: fread(): supplied argument is not a valid stream resource in /home/justseti/public_html/wp-includes/functions.php on line 3309

Warning: fclose(): supplied argument is not a valid stream resource in /home/justseti/public_html/wp-includes/functions.php on line 3312

#8 gayatriom

gayatriom

    Advocate

  • Members

  • 559 posts
  • Country: Country Flag

Posted 15 November 2012 - 12:32 PM

ok. now the above is fine! whew.


um. this site is possessed. lol.
can I send you a login for you to see what's happening.
the content is now flying in from left and right. It looks cool, but it's not what I'm going for. so bizarre!

#9 gayatriom

gayatriom

    Advocate

  • Members

  • 559 posts
  • Country: Country Flag

Posted 15 November 2012 - 12:49 PM

Ok. So . Looks like it's an SSL and cloudflare issue.
Are there any cloudflare / Max CDN issues with pagelines?
I tried max cdn yesterday, but it randomly messed up the css.
And now cloudflare is fast, but has issues with listening to my rule to ignore the ssl pages.
grrr.

#10 gayatriom

gayatriom

    Advocate

  • Members

  • 559 posts
  • Country: Country Flag

Posted 15 November 2012 - 12:56 PM

ok. it's final. cloudflare and ssl will not work unless i upgrade.
I've already paid for max cdn.

Do I need to tell them to ignore my css file?

#11 gayatriom

gayatriom

    Advocate

  • Members

  • 559 posts
  • Country: Country Flag

Posted 15 November 2012 - 01:21 PM

Still getting this: Warning: in_array() [

Please Login or Register to see this Hidden Content

]: Wrong datatype for second argument in /home/justseti/public_html/wp-content/themes/pagelines/includes/less.plugin.php on line 2551
I keep getting the above error after the ssl installation.

#12 Simon_P

Simon_P

    Messer

  • Administrators
  • 8388607 posts
  • LocationDevon
  • Framework Version:2.0
  • Country: Country Flag

Posted 15 November 2012 - 02:09 PM

Try reuploading the framework, and in future dont just delete plugins via ftp, use the buttons in wp-admin.

#13 gayatriom

gayatriom

    Advocate

  • Members

  • 559 posts
  • Country: Country Flag

Posted 15 November 2012 - 02:16 PM

hey. ok. will do.
so i need to disable the entire framework and reload.
this problem : Still getting this: Warning: in_array() [

Please Login or Register to see this Hidden Content

]: Wrong datatype for second argument in /home/justseti/public_html/wp-content/themes/pagelines/includes/less.plugin.php on line 2551


has been happening since yesterday since BEFORE i deleted the plugins
how do I reupload the framework without losing all of my customizations?

#14 Simon_P

Simon_P

    Messer

  • Administrators
  • 8388607 posts
  • LocationDevon
  • Framework Version:2.0
  • Country: Country Flag

Posted 15 November 2012 - 02:22 PM

you have been editing the files? which ones?

#15 gayatriom

gayatriom

    Advocate

  • Members

  • 559 posts
  • Country: Country Flag

Posted 15 November 2012 - 02:58 PM

no. i mean. all of my css. all of my posts, etc.
do i just delete the framework and reinstall ?
no other files have been edited.
But I have jigoshop installed and a lot of configurations have been saved.
g

#16 Simon_P

Simon_P

    Messer

  • Administrators
  • 8388607 posts
  • LocationDevon
  • Framework Version:2.0
  • Country: Country Flag

Posted 15 November 2012 - 02:59 PM

reuploading the files will not affect the settings that are stored in the db

#17 gayatriom

gayatriom

    Advocate

  • Members

  • 559 posts
  • Country: Country Flag

Posted 15 November 2012 - 03:15 PM

ok. to confirm.
I delete pagelines from the themes panel and then I reinstall?

#18 Simon_P

Simon_P

    Messer

  • Administrators
  • 8388607 posts
  • LocationDevon
  • Framework Version:2.0
  • Country: Country Flag

Posted 15 November 2012 - 03:19 PM

No dont delete anything.
  • Download the zip from the members area.
  • Extract the zip.
  • Upload the contents to wp-content/themes/pagelines/ overwriting the original files.


#19 gayatriom

gayatriom

    Advocate

  • Members

  • 559 posts
  • Country: Country Flag

Posted 15 November 2012 - 03:21 PM

ah ok. great thanks!

#20 catrina

catrina

    Advocate

  • Members
  • 12345 posts
  • LocationCalifornia
  • Country: Country Flag

Posted 15 November 2012 - 03:56 PM

Do you need further assistance with this?





Also tagged with one or more of these keywords: Resolved