Wordpress: Media Grid loads only the images in the preview and does not show them after saving - wordpress

I use Media Grid for my Wordpress page to display images. Every time I preview the page via preview, the pictures are displayed without any problem, but unfortunately this is not the case anymore after the page has been updated. After saving the page the images are not displayed and the console shows the message "Nothing found".
jquery.js?ver=1.12.4-wp:2 Uncaught Error: Syntax error, unrecognized expression: {"status":"Nothing found"}
at Function.ea.error (jquery.js?ver=1.12.4-wp:2)
at ea.tokenize (jquery.js?ver=1.12.4-wp:2)
at ea.select (jquery.js?ver=1.12.4-wp:2)
at Function.ea (jquery.js?ver=1.12.4-wp:2)
at Function.a.find (jquery-migrate.min.js?ver=1.4.1:2)
at n.fn.init.find (jquery.js?ver=1.12.4-wp:2)
at n.fn.init.a.fn.find (jquery-migrate.min.js?ver=1.4.1:2)
at a.fn.init.n.fn.init (jquery.js?ver=1.12.4-wp:2)
at new a.fn.init (jquery-migrate.min.js?ver=1.4.1:2)
at n (jquery.js?ver=1.12.4-wp:2)
I have already searched for this error message in forums and got nowhere. can someone help me fix the problem?
Like this: https://wpml.org/forums/topic/problem-with-wpml-and-visual-composer-grid-builder/
Many thanks in advance

I solved the Problem with reinstallung the plugin.

Related

How do I resolve Cookies problem in JQuery

I'm trying to use cookies for my Web site.
I saw some examples like this one :
https://jsfiddle.net/donejs/wMN7G/
but I have the following error:
"<a class='gotoLine' href='#84:28'>84:28</a> Uncaught TypeError: $.cookie is not a function"
After reading the solutions of this problem, I understood that this syntax : $.cookie is no more used. So I have tried to use this : Cookies.get('name') but it didn't work. Any ideas of how to fix it?

Drupal site webpages getting 500 in google

I am working on a site that is having issues when google tries to crawl over it. (I just inherited this site.) Google is returning a 500 error that it can not find the page. I have done some debug but I am stumped on what more to do.
Here is what I know:
When google crawls the site it gets a 500 from some pages. All the pages with the error seem to be "~/content/~" pages.
When I try to manual fetch the page I also get the 500 error message.
The issue only happens sometimes.
Viewing the webpage in a browser gives no indication that anything is wrong.
This is the error message from my error log.
[17-Jul-2013 21:29:58] PHP Parse error: syntax error, unexpected $end in
/home/~/public_html/sites/all/modules/ctools/plugins/access/php.inc(55) : eval()'d code on line 1
Sometime it says line 1 or line 2.
If I comment out the line below, the error goes away. I don't know what the function below does and if getting rid of it does any harm.
// Provide a summary description based upon the checked roles.
function ctools_php_ctools_access_summary($conf, $contexts)
{
return !empty($conf['description']) ? check_plain($conf['description']) : t('No description');
}
I spoke with the hosting company and they said everything is "OK" on their end.
I submitted a question to the google forums and all the tools that they had me run against the site seemed to return successful information.
The problem seems like its getting progressively worse over time.
The apache log does not have any error messages in it.
From the durpal Admin panel - Node template. When I select contexts for the column variant sometimes I get the WSOD.
I don't see any php code anywhere that could be causing an error.
Does anyone have any ideas what could be going on?
PHP Parse error: syntax error, unexpected $end.... if it's the case
means that PHP has finished analyzing your code, but you forgot to close a symbol somewhere in your page or in those that are included.
Check:
you may forgot to close a quote, so PHP continues to analyze your code until it finds the closing quotation-mark.
You may forgot to close a bracket, so from the last opening, PHP thinks all the code that follows as part of a block that never ends.
You may forgot to close a parenthesis, so from the last open parenthesis, it thinks all the code that follows as part of it and that is not ending.
You may forgot a comma

error in WP Snap plugin

this plugin is showing following error :
"Warning: preg_match() [function.preg-match]: Compilation failed: missing terminating ] for character class at offset 4"
I tried to solve it by adding \ at fourth offset, error was removed but now plugin is not working properly.
What is the full error message? There should be a particular php file at the end of the error.
There's probably an error in your permalink structure, or if you added some type of permalink plugin. Or you're probably getting that error because your blog has no content. It also could mean that you're using an older version of the plugin. Again, it's difficult to say without the entire error message, and what php file is causing the problem. But you can try changing this:
Code: Select all
if (preg_match("/$bad/i", strtolower($comments))){$allow = false;}
to this:
Code: Select all
if (#preg_match("/$bad/i", strtolower($comments))){$allow = false;}

Broken JavaScript Registry in Plone 3.1.7

I created a javascript file TTW for a quick fix to something i was working with, and when i went to the portal_javascripts and added it there i was met with this error upon saving:
Exception Type: CompilerError
Exception Value: Path element may not be empty in 'portal/http://www.example.com/portal_skins/cloud.js'
I get that same error every time i attempt to navigate to the portal_javascripts through the ZMI, it's obvious that I incorrectly entered the id of my file, but now I can't even fix it.
I was able to find this example of someone with a similiar issue, but I have no how to go about his fix
http://markmail.org/message/zbjhjoezz2h423yr#query:+page:1+mid:yhgjekdkwnegwqen+state:results
Try this:
http://example.com/portal_javascripts/unregisterResource?id=[your_js_resource_id]

Add Source file link to the default ASP.NET Server Error page?

Has anyone ever thought to attempt to modify the default ASP.NET Server error page to provide a link BACK to the error source in Visual Studio?
Consider the following standard error page in ASP.NET:
Server Error in '/myproject'
Application.
Invalid object name 'usp_DoSomething'.
Description: An unhandled exception
occurred during the execution of the
current web request. Please review the
stack trace for more information about
the error and where it originated in
the code.
Exception Details:
System.Data.SqlClient.SqlException:
Invalid object name 'usp_DoSomething'.
Source Error:
Line 4323: cmd.CommandText = "usp_DoSomething";
Line 4324:
Line 4325: using (var dr = cmd.ExecuteReader())
Line 4326: {
Line 4327: if (dr != null)
Source File:
c:\development\myproject\myproject.components\providers\sql\sqldataprovider.cs
Line: 4325
When an error like this is generated, the HTML has the source back to the file the error occurs in and the line number. Has anyone ever written or thought of writing some mechanism to turn the text into a link back to the error in Visual Studio?
I've never seen anything that does it, but it just seems like it would be a helluva nice feature and I think about it in the back of my mind every time an error occurs when I have to manually go find it in the source. It would just be nice to be able to click a link to take me straight there.
Anyone written any, or know of any solutions for this. I use Chrome or Firefox as my browsers of choice, but I'd even consider using IE again if someone found a plugin that did this.
Thanks,
Max
Well, I had been hoping for some means of hacking the error page to turn this:
c:\development\myproject\myproject.components\providers\sql\sqldataprovider.cs Line: 4325
into a link back into my source code in Visual Studio... being that the file name and line number is provided. I was thinking of a browser plugin or something, but apparently no one has built anything like that before... oh well. Was worth a shot.

Resources