1. Grant Broadcasters
  2. Newbie area
  3. Wednesday, 16 September 2015
  4.  Subscribe via email
 
Hello
We are developing a site with Hotspots Pro and when I try to access the admin area of hotspots I get a error 'Array to string conversion'. So I found the line where error was occurring and did a var_dump of the title variable, below is the output. Can you help us fix this issue.


array (size=48)
0 => string '<div class="compojoom-bootstrap" style="clear: both">' (length=53)
1 => string '<div id="loading" style="display: none;">
<div class="loading-inner">
<div class="spinner">
<div class="cube1"></div>
<div class="cube2"></div>
</div>
</div>
</div>' (length=218)
2 => string '<div class="c-container">
<div class="logo-brand header sidebar rows">
<div class="c-extension-title logo pull-left">
<h1><a href="/xmas/administrator/index.php?option=com_hotspots">Hotspots</a></h1>
</div>
<div class="c-toolbar-holder">
<div class="c-toolbar pull-left">
<div class="btn-toolbar" id="toolbar">
<div class="btn-wrapper" id="toolbar-options">
<button onclick="location.href='index.php?option=com_config&view=component&component=c'... (length=1004)
3 => string '<div class="left side-menu">
<div class="body rows scroll-y">
<div class="sidebar-inner" style="min-height: 100%">
<div class="media c-media-sidebar">
<a class="pull-left" href="/component/users/?Itemid=842">
<img class="media-object" src="/https://secure.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=mm&r=g" alt="Avatar" />
</a>
<div class="media-body c-media-introtext">
Welcome back,
<h4 class="media-heading"><strong>S'... (length=569)
4 => string '<div id="search">
<form role="form">
<input type="text" id="csearch" class="form-control search" placeholder="Search here..." />
<i class="fa fa-search"></i>
</form>
</div>' (length=208)
5 => string '<div id="sidebar-menu" style="clear: both;">
<ul>' (length=56)
6 => string '<li class="active" keywords="dashboard home overview cpanel">' (length=61)
7 => string '<a href="/xmas/administrator/index.php?option=com_hotspots&view=dashboard" title="Dashboard">' (length=97)
8 => string '<i class="fa fa-dashboard"></i> ' (length=32)
9 => string 'Dashboard' (length=9)
10 => string '</a>' (length=4)
11 => string '</li>' (length=5)
12 => string '<li keywords="lists hotspots markers locations">' (length=48)
13 => string '<a href="/xmas/administrator/index.php?option=com_hotspots&view=hotspots" title="Locations (Hotspots)">' (length=107)
14 => string '<i class="fa fa-map-marker"></i> ' (length=33)
15 => string 'Locations (Hotspots)' (length=20)
16 => string '</a>' (length=4)
17 => string '</li>' (length=5)
18 => string '<li keywords="kml">' (length=19)
19 => string '<a href="/xmas/administrator/index.php?option=com_hotspots&view=kmls" title="KML">' (length=86)
20 => string '<i class="fa fa-file"></i> ' (length=27)
21 => string 'KML' (length=3)
22 => string '</a>' (length=4)
23 => string '</li>' (length=5)
24 => string '<li keywords="categories">' (length=26)
25 => string '<a href="/xmas/administrator/index.php?option=com_categories&view=categories&extension=com_hotspots" title="Categories">' (length=128)
26 => string '<i class="fa fa-users"></i> ' (length=28)
27 => string 'Categories' (length=10)
28 => string '</a>' (length=4)
29 => string '</li>' (length=5)
30 => string '<li keywords="customfields">' (length=28)
31 => string '<a href="/xmas/administrator/index.php?option=com_hotspots&view=customfields" title="Custom fields">' (length=104)
32 => string '<i class="fa fa-puzzle-piece"></i> ' (length=35)
33 => string 'Custom fields' (length=13)
34 => string '</a>' (length=4)
35 => string '</li>' (length=5)
36 => string '<li keywords="import">' (length=22)
37 => string '<a href="/xmas/administrator/index.php?option=com_hotspots&view=import" title="Import">' (length=91)
38 => string '<i class="fa fa-exchange"></i> ' (length=31)
39 => string 'Import' (length=6)
40 => string '</a>' (length=4)
41 => string '</li>' (length=5)
42 => string '</ul>
<div class="clear clr"></div>
</div><!-- End div #sidebar-menu -->
</div><!-- End div .sidebar-inner .slimscroller -->
</div><!-- End div .body .rows .scroll-y -->
</div>
' (length=214)
43 => string '<div class="right content-page">' (length=32)
44 => string '<div class="body content rows scroll-y">' (length=40)
45 => string '<div id="c-debug-container"> </div>' (length=35)
46 => string '<div id="c-system-message-container"> </div>' (length=44)
47 => string '<div class="page-heading animated fadeInDownBig">
<h1>Dashboard <small></small></h1>
</div>' (length=106)

Responses (4)


There are %s replies to this question. If you want to see them you need a valid subscription.
If you have a valid subscription, please login now.
Visit store now
Powered by EasyDiscuss for Joomla!