Jump to content

Smartblog error


Recommended Posts

Hi

 

My smartblog has startet to make an error. (it use to work fine9

 

i get "500 server error"

 

the log says;

 

[PrestaShopException]

Invalid product vars
at line 104 in file classes/Link.php

98. 			if (is_array($product) && isset($product['id_product']))99. 				$product = new Product($product['id_product'], false, $id_lang, $id_shop);100. 			elseif ((int)$product)101. 				$product = new Product((int)$product, false, $id_lang, $id_shop);102. 			else103. 				throw new PrestaShopException('Invalid product vars');104. 		}105. 106. 		// Set available keywords107. 		$params = array();108. 		$params['id'] = $product->id;

Any suggestion how to fix it

 

Jesper

www.rulleskisport.dk

Prestashop 1.6.0.8

 

Link to comment
Share on other sites

by error, download the file smartblogarchive instead of the smartblog, and I get this error

 

Fatal erro in modulo smartblogarchive: require_once():Failed opening requiered´/home/hypers21/public_html/modules/smartblog/classes/SmartBlogPost.php´ (incluide_path='/home/hypers21/public_html/tools/htmlpurifier/standalone::/usr/lib/php:/usr/local/lib/php')

 

AND I can not access any module.

 

Please..... If you have a guide of how to fix this, because I don't know much codes

 

Thanks

Lorena R.

Link to comment
Share on other sites

Hello vekia..

Thanks for your video... but it does not work

I put ¨NO¨and save and i still have the problem

I don´t know what to else to do... and i can´t finish my proyect

 

Thanks for your time... If you know that more.. please write me!!!

Lorena Rolandi .

Link to comment
Share on other sites

  • 5 years later...
10 minutes ago, Controlaire said:

I have the same problem in 2019, did you find a solution?

Disable HTML purifier didnt work.

My Prestashop version is 1.7.5.2 and I can access everything (blog category, comments, etc) except "Blog post".

If I click on "Blog post" this appears:

Oops! An Error Occurred

The server returned a "500 Internal Server Error".

Something is broken. Please let us know what you were doing when this error occurred. We will fix it as soon as possible. Sorry for any inconvenience caused.

I FIND THE SOLUTION HERE: https://github.com/smartdatasoft/smartblog/issues/91

Hope it helps you.

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...