PHP Catchable fatal error
-
I got this error
“PHP Catchable fatal error: Argument 1 passed to imdb_connector_get_movies() must be of the type array, string given, called in /home/sndl/public_html/wp-content/themes/themes/functions.php on line 13 and defined in /home/sndl/public_html/wp-content/plugins/imdb-connector/includes/functions.php”and this my php code
function autoset_featured($post) {
$imdb_movie_id = get_post_meta( $post->ID, “Checkbx2”, true );
$imdb_get = imdb_connector_get_movies($imdb_movie_id);
$image_url = $imdb_get[“poster”];
…
{Thanks before
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘PHP Catchable fatal error’ is closed to new replies.